(self)
| 11 | class TestApiUtility(unittest.TestCase): |
| 12 | |
| 13 | def test_msg_structure_pass(self): |
| 14 | self.assertEqual( |
| 15 | msg_structure("ok", "Hello OWASP"), |
| 16 | { |
| 17 | "status": "ok", |
| 18 | "msg": "Hello OWASP" |
| 19 | } |
| 20 | ) |
| 21 | |
| 22 | def test_msg_structure_fail(self): |
| 23 | self.assertNotEqual( |
nothing calls this directly
no test coverage detected