[Neo-report] r2200 gregory - /trunk/neo/tests/testProtocol.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Aug 4 10:54:31 CEST 2010
Author: gregory
Date: Wed Aug 4 10:54:31 2010
New Revision: 2200
Log:
Add a missing test.
Modified:
trunk/neo/tests/testProtocol.py
Modified: trunk/neo/tests/testProtocol.py
==============================================================================
--- trunk/neo/tests/testProtocol.py [iso-8859-1] (original)
+++ trunk/neo/tests/testProtocol.py [iso-8859-1] Wed Aug 4 10:54:31 2010
@@ -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()
More information about the Neo-report
mailing list