Commit 399c94f6 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Don't shadow test definition.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1791 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 48e32052
...@@ -56,7 +56,7 @@ class ProtocolTests(NeoTestBase): ...@@ -56,7 +56,7 @@ class ProtocolTests(NeoTestBase):
error_code, error_msg = p.decode() error_code, error_msg = p.decode()
self.assertEqual(error_msg, "no oid") self.assertEqual(error_msg, "no oid")
def test_08_oidNotFound(self): def test_08_tidNotFound(self):
p = Errors.TidNotFound("no tid") p = Errors.TidNotFound("no tid")
error_code, error_msg = p.decode() error_code, error_msg = p.decode()
self.assertEqual(error_code, ErrorCodes.TID_NOT_FOUND) self.assertEqual(error_code, ErrorCodes.TID_NOT_FOUND)
......
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