antimatter.filetype.tests.test_infer#

Module Contents#

Classes#

Attributes#

antimatter.filetype.tests.test_infer.fixtures_dir#
class antimatter.filetype.tests.test_infer.TestInferFiletype#
has_libmagic = False#
classmethod setup_class()#

Setup method to check for libmagic availability

test_infer_by_extension(path: str, expected_filetype: str)#
test_infer_by_magic(path: str, expected_filetype: str)#