[Checkins] SVN: Zope3/trunk/src/zope/app/container/browser/tests/test_adding.py Strip trailing whitespace.

Marius Gedminas marius at pov.lt
Sat Jan 20 07:27:16 EST 2007


Log message for revision 72124:
  Strip trailing whitespace.
  
  

Changed:
  U   Zope3/trunk/src/zope/app/container/browser/tests/test_adding.py

-=-
Modified: Zope3/trunk/src/zope/app/container/browser/tests/test_adding.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/tests/test_adding.py	2007-01-20 12:26:33 UTC (rev 72123)
+++ Zope3/trunk/src/zope/app/container/browser/tests/test_adding.py	2007-01-20 12:27:12 UTC (rev 72124)
@@ -265,7 +265,7 @@
     1
     >>> items[0]['title']
     'item3'
-    
+
     >>> adding.menu_id = 'TestMenu'
     >>> items = adding.addingInfo()
     >>> len(items)
@@ -276,7 +276,7 @@
     'item2'
     >>> items[2]['title']
     'item3'
-    >>> tearDown()    
+    >>> tearDown()
     """
 
 def test_constraint_driven_add():
@@ -295,7 +295,7 @@
     ...     "a mock item constraint "
     ...     if not isinstance(object, F1):
     ...         raise zope.interface.Invalid('not a valid child')
-    
+
     >>> class ITestContainer(zope.interface.Interface):
     ...     def __setitem__(name, object):
     ...         pass
@@ -306,7 +306,7 @@
 
     >>> adding = Adding(Container(), TestRequest())
     >>> c = adding.add(F1())
-    
+
     This test should fail, because the container only
     accepts instances of F1
 
@@ -376,7 +376,7 @@
     >>> adding.nameAllowed()
     True
 
-    >>> tearDown()    
+    >>> tearDown()
     """
 
 
@@ -478,8 +478,8 @@
 
     >>> adding.hasCustomAddView()
     True
-    
-    >>> tearDown()    
+
+    >>> tearDown()
     """
 
 def test_SingleMenuItem_and_NoCustomAddView_NonICNC():
@@ -519,7 +519,7 @@
     >>> from zope.component.factory import Factory
     >>> ztapi.provideUtility(IFactory, Factory(F1), 'f1')
     >>> ztapi.provideUtility(IFactory, Factory(F2), 'f2')
-    
+
     >>> from zope.app.container.browser.adding import Adding
     >>> adding = Adding(Container(), TestRequest())
     >>> items = adding.addingInfo()
@@ -537,7 +537,7 @@
 
     >>> adding.hasCustomAddView()
     False
-    
+
     >>> tearDown()
     """
 
@@ -549,7 +549,7 @@
     >>> setUp()
     >>> registerAddMenu()
     >>> defineMenuItem(AddMenu, None, '', 'item3', extra={'factory': ''})
-    
+
     >>> class F1(object):
     ...     pass
 
@@ -583,9 +583,9 @@
     True
     >>> adding.hasCustomAddView()
     False
-    
+
     >>> tearDown()
-    
+
     """
 
 def test_suite():



More information about the Checkins mailing list