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

Add missing check.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1841 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 3d96d649
...@@ -53,6 +53,7 @@ class ProtocolTests(NeoTestBase): ...@@ -53,6 +53,7 @@ class ProtocolTests(NeoTestBase):
def test_07_oidNotFound(self): def test_07_oidNotFound(self):
p = Errors.OidNotFound("no oid") p = Errors.OidNotFound("no oid")
error_code, error_msg = p.decode() error_code, error_msg = p.decode()
self.assertEqual(error_code, ErrorCodes.OID_NOT_FOUND)
self.assertEqual(error_msg, "no oid") self.assertEqual(error_msg, "no oid")
def test_08_tidNotFound(self): def test_08_tidNotFound(self):
......
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