(self)
| 1070 | self.assertIsInstance(h.copy(), self.hmac_class) |
| 1071 | |
| 1072 | def test_properties(self): |
| 1073 | h = self.hmac_new(b"my secret key", digestmod=self.digestname) |
| 1074 | self.assertEqual(h.name, f"hmac-{self.digestname}") |
| 1075 | self.assertEqual(h.digest_size, self.digest_size) |
| 1076 | self.assertEqual(h.block_size, self.block_size) |
| 1077 | |
| 1078 | def test_copy(self): |
| 1079 | # Test a generic copy() and the attributes it exposes. |
nothing calls this directly
no test coverage detected