[Neo-report] r1841 gregory - /trunk/neo/tests/testProtocol.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 23 16:58:48 CET 2010


Author: gregory
Date: Tue Feb 23 16:58:47 2010
New Revision: 1841

Log:
Add missing check.

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] Tue Feb 23 16:58:47 2010
@@ -53,6 +53,7 @@
     def test_07_oidNotFound(self):
         p = Errors.OidNotFound("no oid")
         error_code, error_msg = p.decode()
+        self.assertEqual(error_code, ErrorCodes.OID_NOT_FOUND)
         self.assertEqual(error_msg, "no oid")
 
     def test_08_tidNotFound(self):





More information about the Neo-report mailing list