[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/basic/tests - sampleinterfaces.py:1.1.2.2 test_standardmacros.py:1.1.2.2

Tim Peters tim.one@comcast.net
Tue, 24 Dec 2002 21:21:50 -0500


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

Modified Files:
      Tag: NameGeddon-branch
	sampleinterfaces.py test_standardmacros.py 
Log Message:
Whitespace normalization, via Python's Tools/scripts/reindent.py.  The
files are fixed-points of that script now.  Fixed a few cases where
code relied on significant trailing whitespace (ouch).


=== Zope3/src/zope/app/browser/skins/basic/tests/sampleinterfaces.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/skins/basic/tests/sampleinterfaces.py:1.1.2.1	Mon Dec 23 14:31:19 2002
+++ Zope3/src/zope/app/browser/skins/basic/tests/sampleinterfaces.py	Tue Dec 24 21:20:19 2002
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2001, 2002 Zope Corporation and Contributors.
 # All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
-# 
+#
 ##############################################################################
 """
 
@@ -35,6 +35,6 @@
 
 class O1:
     __implements__ = I1
-    
+
 class O2:
-    __implements__ = I2    
+    __implements__ = I2


=== Zope3/src/zope/app/browser/skins/basic/tests/test_standardmacros.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/skins/basic/tests/test_standardmacros.py:1.1.2.1	Mon Dec 23 14:31:19 2002
+++ Zope3/src/zope/app/browser/skins/basic/tests/test_standardmacros.py	Tue Dec 24 21:20:19 2002
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2001, 2002 Zope Corporation and Contributors.
 # All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
-# 
+#
 ##############################################################################
 """
 
@@ -23,7 +23,7 @@
 from zope.publisher.interfaces.browser import IBrowserView
 from zope.publisher.interfaces.browser import IBrowserPresentation
 from zope.interface import Interface
-from zope.app.browser.skins.basic.standardmacros import Macros 
+from zope.app.browser.skins.basic.standardmacros import Macros
 
 
 class ViewWithMacros:
@@ -32,7 +32,7 @@
     def __init__(self, context, request):
         self.context = context
         self.request = request
-        
+
     def __call__(self):
         pass
 
@@ -97,7 +97,7 @@
         self.assertEqual(macros['fish'], 'works_with_page1_fish')
         self.assertEqual(macros['tree'], 'works_with_page1_tree')
         self.assertRaises(KeyError, macros.__getitem__, 'pants')
-        
+
     def testConflictingPages(self):
         macros = createMacrosInstance(('page1', 'collides_with_page1'))
         self.assertEqual(macros['foo'], 'page1_foo')
@@ -111,4 +111,3 @@
 
 if __name__=='__main__':
     unittest.TextTestRunner().run(test_suite())
-