[Zope3-checkins] CVS: Zope3/src/zope/app/browser/tests - test_undo.py:1.5

Anthony Baxter anthony@interlink.com.au
Thu, 10 Jul 2003 23:51:11 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/tests
In directory cvs.zope.org:/tmp/cvs-serv27720

Modified Files:
	test_undo.py 
Log Message:
additional test data.


=== Zope3/src/zope/app/browser/tests/test_undo.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/tests/test_undo.py:1.4	Fri Jun  6 17:35:20 2003
+++ Zope3/src/zope/app/browser/tests/test_undo.py	Thu Jul 10 23:51:04 2003
@@ -33,12 +33,16 @@
  'time': 'today'}
         dict2 = {'id': '2', 'user_name': 'monkey', 'description': 'thing2',
  'time': 'today'}
-        dict3 = {'id': '3', 'user_name': 'monkey', 'description': 'thing3',
+        dict3 = {'id': '3', 'user_name': 'bonobo', 'description': 'thing3',
+ 'time': 'today'}
+        dict4 = {'id': '4', 'user_name': 'monkey', 'description': 'thing4',
+ 'time': 'today'}
+        dict5 = {'id': '5', 'user_name': 'bonobo', 'description': 'thing5',
  'time': 'today'}
 
-        self.dummy_db = [dict1, dict2, dict3]
+        self.dummy_db = [dict1, dict2, dict3, dict4, dict5]
 
-    def getUndoInfo(self):
+    def getUndoInfo(self, first=0, last=-20, user_name=None):
         return self.dummy_db
 
     def undoTransaction(self, id_list):