Commit 0d67025e authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix test: ProtocolError is raised instead of UnexpectedPackeError.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1522 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent c8dabbff
...@@ -104,7 +104,7 @@ class MasterClientHandlerTests(NeoTestBase): ...@@ -104,7 +104,7 @@ class MasterClientHandlerTests(NeoTestBase):
oid_list = [] oid_list = []
upper, lower = unpack('!LL', self.app.tm.getLastTID()) upper, lower = unpack('!LL', self.app.tm.getLastTID())
new_tid = pack('!LL', upper, lower + 10) new_tid = pack('!LL', upper, lower + 10)
self.checkUnexpectedPacketRaised(service.finishTransaction, conn, packet, oid_list, new_tid) self.checkProtocolErrorRaised(service.finishTransaction, conn, packet, oid_list, new_tid)
old_node = self.app.nm.getByUUID(uuid) old_node = self.app.nm.getByUUID(uuid)
self.app.nm.remove(old_node) self.app.nm.remove(old_node)
self.app.pt.dropNode(old_node) self.app.pt.dropNode(old_node)
......
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