[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/xmlrpc/tests - test_directives.py:1.1.2.4

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


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

Modified Files:
      Tag: NameGeddon-branch
	test_directives.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/publisher/xmlrpc/tests/test_directives.py 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zope/app/publisher/xmlrpc/tests/test_directives.py:1.1.2.3	Tue Dec 24 07:51:13 2002
+++ Zope3/src/zope/app/publisher/xmlrpc/tests/test_directives.py	Tue Dec 24 21:20:42 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.
-# 
+#
 ##############################################################################
 """
 
@@ -60,24 +60,24 @@
             """
             <xmlrpc:view name="test"
                   factory="zope.component.tests.views.V1"
-                  for="zope.component.tests.views.IC" /> 
+                  for="zope.component.tests.views.IC" />
             """
-            ))) 
-        
+            )))
+
         self.assertEqual(
             queryView(ob, 'test', request).__class__,
             V1)
-         
+
 
     def testInterfaceProtectedView(self):
         xmlconfig(StringIO(template %
             """
             <xmlrpc:view name="test"
                   factory="zope.component.tests.views.V1"
-                  for="zope.component.tests.views.IC" 
+                  for="zope.component.tests.views.IC"
                   permission="zope.Public"
               allowed_interface="zope.component.tests.views.IV"
-                  /> 
+                  />
             """
             ))
 
@@ -92,10 +92,10 @@
             """
             <xmlrpc:view name="test"
                   factory="zope.component.tests.views.V1"
-                  for="zope.component.tests.views.IC" 
+                  for="zope.component.tests.views.IC"
                   permission="zope.Public"
                   allowed_methods="action"
-                  /> 
+                  />
             """
             ))
 
@@ -110,11 +110,11 @@
             """
             <xmlrpc:view name="test"
                   factory="zope.component.tests.views.V1"
-                  for="zope.component.tests.views.IC" 
+                  for="zope.component.tests.views.IC"
                   permission="zope.Public"
                   allowed_methods="action"
               allowed_interface="zope.component.tests.views.IV"
-                  /> 
+                  />
             """
             ))
 
@@ -128,11 +128,11 @@
             """
             <xmlrpc:view name="test"
                   factory="zope.component.tests.views.V1"
-                  for="zope.component.tests.views.IC" 
+                  for="zope.component.tests.views.IC"
                   permission="zope.Public"
                   allowed_methods="action index"
               allowed_interface="zope.component.tests.views.IV"
-                  /> 
+                  />
             """
             ))
 
@@ -149,9 +149,9 @@
             """
             <xmlrpc:view name="test"
                   factory="zope.component.tests.views.V1"
-                  for="zope.component.tests.views.IC" 
+                  for="zope.component.tests.views.IC"
                   allowed_methods="action index"
-                  /> 
+                  />
             """
             ))
 
@@ -166,8 +166,8 @@
                   factory="zope.component.tests.views.V1"
                   for="zope.component.tests.views.IC">
 
-                <xmlrpc:method name="index.html" attribute="index" /> 
-                <xmlrpc:method name="action.html" attribute="action" /> 
+                <xmlrpc:method name="index.html" attribute="index" />
+                <xmlrpc:method name="action.html" attribute="action" />
             </xmlrpc:view>
             """
             ))
@@ -188,8 +188,8 @@
                   factory="zope.component.tests.views.V1"
                   for="zope.component.tests.views.IC">
 
-                <xmlrpc:method name="index.html" attribute="index" /> 
-                <xmlrpc:method name="action.html" attribute="action" /> 
+                <xmlrpc:method name="index.html" attribute="index" />
+                <xmlrpc:method name="action.html" attribute="action" />
             </xmlrpc:view>
             """
             ))
@@ -201,7 +201,7 @@
         v = getView(ob, 'test', request)
         self.assertEqual(v.index(), 'V1 here')
         self.assertEqual(v.action(), 'done')
-    
+
 
     def testProtectedMethodViews(self):
         self.assertEqual(queryView(ob, 'test', request),
@@ -220,12 +220,12 @@
 
             <xmlrpc:view
                   factory="zope.component.tests.views.V1"
-                  for="zope.component.tests.views.IC" 
+                  for="zope.component.tests.views.IC"
                   permission="XXX">
 
-                <xmlrpc:method name="index.html" attribute="index" /> 
+                <xmlrpc:method name="index.html" attribute="index" />
                 <xmlrpc:method name="action.html" attribute="action"
-                              permission="zope.Public" /> 
+                              permission="zope.Public" />
             </xmlrpc:view>
             """
             ))