(self)
| 13 | |
| 14 | class UtilsTests(unittest.TestCase): |
| 15 | def test_generate_key(self): |
| 16 | key = generate_key() |
| 17 | self.assertEqual(len(base64.b64decode(key.encode())), 16) |
| 18 | |
| 19 | def test_accept_key(self): |
| 20 | self.assertEqual(accept_key(KEY), ACCEPT) |
nothing calls this directly
no test coverage detected