(cls)
| 724 | |
| 725 | @classmethod |
| 726 | def setUpClass(cls): |
| 727 | super().setUpClass() |
| 728 | for meth in ['_init_openssl_hmac', '_init_builtin_hmac']: |
| 729 | fn = getattr(cls.hmac.HMAC, meth) |
| 730 | cm = patch.object(cls.hmac.HMAC, meth, autospec=True, wraps=fn) |
| 731 | cls.enterClassContext(cm) |
| 732 | |
| 733 | @classmethod |
| 734 | def tearDownClass(cls): |
nothing calls this directly
no test coverage detected