[Neo-report] r1887 vincent - /trunk/neo/tests/client/testClientApp.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Mar 5 13:44:13 CET 2010
Author: vincent
Date: Fri Mar 5 13:44:12 2010
New Revision: 1887
Log:
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.
Modified:
trunk/neo/tests/client/testClientApp.py
Modified: trunk/neo/tests/client/testClientApp.py
==============================================================================
--- trunk/neo/tests/client/testClientApp.py [iso-8859-1] (original)
+++ trunk/neo/tests/client/testClientApp.py [iso-8859-1] Fri Mar 5 13:44:12 2010
@@ -757,7 +757,7 @@
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,
More information about the Neo-report
mailing list