(self)
| 1062 | block_size: int |
| 1063 | |
| 1064 | def test_methods(self): |
| 1065 | h = self.hmac_new(b"my secret key", digestmod=self.digestname) |
| 1066 | self.assertIsInstance(h, self.hmac_class) |
| 1067 | self.assertIsNone(h.update(b"compute the hash of this text!")) |
| 1068 | self.assertIsInstance(h.digest(), bytes) |
| 1069 | self.assertIsInstance(h.hexdigest(), str) |
| 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) |
nothing calls this directly
no test coverage detected