MCPcopy Create free account
hub / github.com/OWASP/Python-Honeypot / test_msg_structure_fail

Method test_msg_structure_fail

tests/test_api_utilities.py:22–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20 )
21
22 def test_msg_structure_fail(self):
23 self.assertNotEqual(
24 msg_structure("failed", "Hello again"),
25 {
26 "status": "ok",
27 "msg": "Hello again"
28 }
29 )
30
31 def test_fix_skip_pass(self):
32 returned_values = fix_skip('0')

Callers

nothing calls this directly

Calls 1

msg_structureFunction · 0.90

Tested by

no test coverage detected