[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content/tests - test_dtmlpageeval.py:1.1.2.3 test_imagedata.py:1.1.2.2 test_zptpageeval.py:1.1.2.3

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


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

Modified Files:
      Tag: NameGeddon-branch
	test_dtmlpageeval.py test_imagedata.py test_zptpageeval.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/content/tests/test_dtmlpageeval.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/browser/content/tests/test_dtmlpageeval.py:1.1.2.2	Mon Dec 23 18:52:30 2002
+++ Zope3/src/zope/app/browser/content/tests/test_dtmlpageeval.py	Tue Dec 24 21:20:13 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
-# 
+#
 ##############################################################################
 """
 
@@ -38,17 +38,17 @@
 
         class Folder: name='zope'
         folder = Folder()
-        
+
         class Request(object):
 
             def _getResponse(self):
                 return self
 
             response = property(_getResponse)
-            
+
             def setHeader(self, name, value):
                 setattr(self, name, value)
-                           
+
         request = Request()
 
         template = ContextWrapper(Template(), folder)


=== Zope3/src/zope/app/browser/content/tests/test_imagedata.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/content/tests/test_imagedata.py:1.1.2.1	Mon Dec 23 14:31:06 2002
+++ Zope3/src/zope/app/browser/content/tests/test_imagedata.py	Tue Dec 24 21:20:13 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.
-# 
+#
 ##############################################################################
 """
 
@@ -28,7 +28,7 @@
         """ """
         image = Image('Data')
 
-        id = ImageData(image, None) 
+        id = ImageData(image, None)
 
         self.assertEqual(id(), 'Data')
 
@@ -39,8 +39,8 @@
         # We need that, sinc eabsolute_url is not implemented yet.
         def absolute_url():
             return '/img'
-            
-        image = Image()        
+
+        image = Image()
         fe = ImageData(image, None)
         fe.absolute_url = absolute_url
 


=== Zope3/src/zope/app/browser/content/tests/test_zptpageeval.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/browser/content/tests/test_zptpageeval.py:1.1.2.2	Mon Dec 23 18:52:30 2002
+++ Zope3/src/zope/app/browser/content/tests/test_zptpageeval.py	Tue Dec 24 21:20:13 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
-# 
+#
 ##############################################################################
 """
 
@@ -37,16 +37,16 @@
 
         class Folder: name='zope'
         folder = Folder()
-        
+
         class Request(object):
             def _getResponse(self):
                 return self
 
             response = property(_getResponse)
-            
+
             def setHeader(self, name, value):
                 setattr(self, name, value)
-                           
+
         request = Request()
 
         template = ContextWrapper(Template(), folder)