[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Undo/tests - testUndo.py:1.1.2.5

Jim Fulton jim@zope.com
Fri, 7 Jun 2002 10:41:50 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/Undo/tests
In directory cvs.zope.org:/tmp/cvs-serv12187/lib/python/Zope/App/Undo/tests

Modified Files:
      Tag: Zope-3x-branch
	testUndo.py 
Log Message:
Merging in Zope3InWonderland-branch, which implemented the following
proposals (see
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/OldProposals): 
- RenameAllowToRequire

- GroupClassRelatedDirectivesInClassDirective

- ViewInterfaceAndSimplification

- ConsistentUseOfSpacesAsDelimitersInZCMLAttributes

- TwoArgumentViewConstructors

- ImplementsInZCML

- SimpleViewCreationInZCML

- RemoveGetView

- ReplaceProtectWithAllow

- ViewMethodsAsViews

- MergeProtectionAndComponentDefinitions

There were also various security fixes resulting of better integration
of security with components.


=== Zope3/lib/python/Zope/App/Undo/tests/testUndo.py 1.1.2.4 => 1.1.2.5 ===
         
     def testGetUndoInfo(self):
-        view = Undo(None)
+        view = Undo(None, None)
 
         self.assertEqual(view.getUndoInfo(), TestIUndoManager().getUndoInfo())
         
 
     def testUndoSingleTransaction(self):
-        view = Undo(None)
+        view = Undo(None, None)
         id_list = ['1']
         view.action(id_list)
 
@@ -77,7 +77,7 @@
         self.assertEqual(view.getUndoInfo(), testum.getUndoInfo())
 
     def testUndoManyTransactions(self):
-        view = Undo(None)
+        view = Undo(None, None)
         id_list = ['1','2','3']
         view.action(id_list)