[Neo-report] r2767 jm - /trunk/neo/tests/client/testClientApp.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon May 30 16:21:17 CEST 2011


Author: jm
Date: Mon May 30 16:21:17 2011
New Revision: 2767

Log:
Update unit tests of 'undo'

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] Mon May 30 16:21:17 2011
@@ -570,7 +570,7 @@ class ClientApplicationTests(NeoUnitTest
             def pending(self, queue):
                 return not queue.empty()
         app.dispatcher = Dispatcher()
-        def load(oid, tid, before_tid):
+        def load(oid, tid=None, before_tid=None):
             self.assertEqual(oid, oid0)
             return ({tid0: 'dummy', tid2: 'cdummy'}[tid], None, None)
         app.load = load




More information about the Neo-report mailing list