Commit 70fedd8d authored by Vincent Pelletier's avatar Vincent Pelletier

Set the an integer as packet id, not a packet instance.

This makes Packet.__repr__ mad when used to trace what the test is doing.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1887 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 40ad2f2f
......@@ -757,7 +757,7 @@ class ClientApplicationTests(NeoTestBase):
packets = (u2p1, u2p2, u2p3, u3p1, u3p2, u3p3, u3p4, u3p5, u4p1, u4p2,
u4p3, u4p4, u4p5)
for i, p in enumerate(packets):
p.setId(p)
p.setId(i)
storage_address = ('127.0.0.1', 10010)
conn = Mock({
'getNextId': 1,
......
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