def test_autotype_sha256(self):
        h = Hash(EMPTY_SHA256)
        self.assertEqual(h.type_, Hash.TYPE_SHA256)

        h2 = Hash(self.sha256)
        self.assertEqual(h2.type_, Hash.TYPE_SHA256)
64-character hash is assumed to be SHA-256
dataset/ETHPy150Open CybOXProject/python-cybox/cybox/test/common/hash_test.py/TestHash.test_autotype_sha256