[Neo-report] r2631 vincent - /trunk/neo/tests/client/testClientApp.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jan 21 17:10:01 CET 2011
Author: vincent
Date: Fri Jan 21 17:10:01 2011
New Revision: 2631
Log:
Comment-out more unneeded code.
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 Jan 21 17:10:01 2011
@@ -203,16 +203,16 @@ class ClientApplicationTests(NeoUnitTest
'getAddress': ('127.0.0.1', 0),
'fakeReceived': packet,
})
- app.local_var.queue = Mock({'get' : ReturnValues(
- (conn, None), (conn, packet)
- )})
+ #app.local_var.queue = Mock({'get' : ReturnValues(
+ # (conn, None), (conn, packet)
+ #)})
app.pt = Mock({ 'getCellListForOID': [cell, ], })
app.cp = self.getConnectionPool([(Mock(), conn)])
- Application._waitMessage = self._waitMessage
+ #Application._waitMessage = self._waitMessage
# XXX: test disabled because of an infinite loop
# self.assertRaises(NEOStorageError, app.load, snapshot_tid, oid)
# self.checkAskObject(conn)
- Application._waitMessage = _waitMessage
+ #Application._waitMessage = _waitMessage
# object not found in NEO -> NEOStorageNotFoundError
self.assertTrue((oid, tid1) not in mq)
self.assertTrue((oid, tid2) not in mq)
More information about the Neo-report
mailing list