(self)
| 4 | |
| 5 | class TestPycrypto(unittest.TestCase): |
| 6 | def test_digest(self): |
| 7 | hash = SHA256.new() |
| 8 | hash.update('message'.encode('utf-8')) |
| 9 | h = hash.digest() |
| 10 | self.assertEqual(h, b'\xabS\n\x13\xe4Y\x14\x98+y\xf9\xb7\xe3\xfb\xa9\x94\xcf\xd1\xf3\xfb"\xf7\x1c\xea\x1a\xfb\xf0+F\x0cm\x1d') |
nothing calls this directly
no outgoing calls
no test coverage detected