def test_detect_from_content()

in python/tests.py [0:0]


    def test_detect_from_content(self):
        with open(self.filename) as fobj:
            result = magic.detect_from_content(fobj.read(4096))
        self.assert_result(result)