Commit cbd54cfc authored by Grégory Wisniewski's avatar Grégory Wisniewski

Add a missing test.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2200 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent ae9a146d
......@@ -598,6 +598,10 @@ class ProtocolTests(NeoTestBase):
p = Packets.AnswerHasLock(oid, lock_state)
self.assertEqual(p.decode(), (oid, lock_state))
def test_Notify(self):
msg = 'test'
self.assertEqual(Packets.Notify(msg).decode(), (msg, ))
if __name__ == '__main__':
unittest.main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment