in python/tests.py [0:0]
def test_detect_from_filename(self): result = magic.detect_from_filename(self.filename) self.assert_result(result)