The test does work on Mac Os Sierra. The difference seems to be in the return value of calls to magic in snoop/content_types.py - libmagic_guess_content_type. On Mac, magic.from_buffer(buffer, mime=True) returns 'application/vnd.ms-outlook', but on Linux it returns 'application/CDFV2-encrypted'.
Edit: the Linux failure was observed while running the test suite with Docker. All other tests pass.
The test
test_digest_magic_file_types
intestsuite/test_digest.py
fails for the fileno-extension/file_msg
:The test does work on Mac Os Sierra. The difference seems to be in the return value of calls to
magic
insnoop/content_types.py
-libmagic_guess_content_type
. On Mac,magic.from_buffer(buffer, mime=True)
returns'application/vnd.ms-outlook'
, but on Linux it returns'application/CDFV2-encrypted'
.Edit: the Linux failure was observed while running the test suite with Docker. All other tests pass.