[Zope-Checkins] CVS: Zope/lib/python/Interface/tests - IFoo.py:1.3 __init__.py:1.3 dummy.py:1.3 testDocument.py:1.5 testImplements.py:1.3 testInterface.py:1.6 testVerify.py:1.3 testVisitImplements.py:1.3 unitfixtures.py:1.5

Martijn Pieters mj@zope.com
Wed, 14 Aug 2002 17:35:34 -0400


Update of /cvs-repository/Zope/lib/python/Interface/tests
In directory cvs.zope.org:/tmp/cvs-serv14060/tests

Modified Files:
	IFoo.py __init__.py dummy.py testDocument.py testImplements.py 
	testInterface.py testVerify.py testVisitImplements.py 
	unitfixtures.py 
Log Message:
Clean up indentation and trailing whitespace.


=== Zope/lib/python/Interface/tests/IFoo.py 1.2 => 1.3 ===
--- Zope/lib/python/Interface/tests/IFoo.py:1.2	Fri Jun  7 13:18:29 2002
+++ Zope/lib/python/Interface/tests/IFoo.py	Wed Aug 14 17:35:33 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.
-# 
+#
 ##############################################################################
 from Interface import Interface
 


=== Zope/lib/python/Interface/tests/__init__.py 1.2 => 1.3 ===
--- Zope/lib/python/Interface/tests/__init__.py:1.2	Fri Jun  7 13:18:29 2002
+++ Zope/lib/python/Interface/tests/__init__.py	Wed Aug 14 17:35:33 2002
@@ -2,13 +2,13 @@
 #
 # 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.
-# 
+#
 ##############################################################################
 """ Packagize. """


=== Zope/lib/python/Interface/tests/dummy.py 1.2 => 1.3 ===
--- Zope/lib/python/Interface/tests/dummy.py:1.2	Fri Jun  7 13:18:29 2002
+++ Zope/lib/python/Interface/tests/dummy.py	Wed Aug 14 17:35:33 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.
-# 
+#
 ##############################################################################
 from Interface.tests.IFoo import IFoo
 


=== Zope/lib/python/Interface/tests/testDocument.py 1.4 => 1.5 ===
--- Zope/lib/python/Interface/tests/testDocument.py:1.4	Tue Jun 11 11:34:28 2002
+++ Zope/lib/python/Interface/tests/testDocument.py	Wed Aug 14 17:35:33 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.
-# 
+#
 ##############################################################################
 """
 
@@ -50,7 +50,7 @@
   f23() -- f23 doc
 
 ''')
-  
+
 
 def test_suite():
     return TestSuite((
@@ -66,7 +66,7 @@
 
     a1 = Attribute('a1')
     a2 = Attribute('a2', 'a2 doc')
-    
+
     def f21(): "f21 doc"
     def f22(): pass
     def f23(): "f23 doc"


=== Zope/lib/python/Interface/tests/testImplements.py 1.2 => 1.3 ===
--- Zope/lib/python/Interface/tests/testImplements.py:1.2	Fri Jun  7 13:18:29 2002
+++ Zope/lib/python/Interface/tests/testImplements.py	Wed Aug 14 17:35:33 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.
-# 
+#
 ##############################################################################
 from __future__ import nested_scopes
 from Interface import Interface


=== Zope/lib/python/Interface/tests/testInterface.py 1.5 => 1.6 ===
--- Zope/lib/python/Interface/tests/testInterface.py:1.5	Tue Jun 11 11:34:28 2002
+++ Zope/lib/python/Interface/tests/testInterface.py	Wed Aug 14 17:35:33 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.
-# 
+#
 ##############################################################################
 
 import unittest
@@ -31,7 +31,7 @@
 
     def testClassImplements(self):
         assert IC.isImplementedByInstancesOf(C)
-        
+
         assert I1.isImplementedByInstancesOf(A)
         assert I1.isImplementedByInstancesOf(B)
         assert not I1.isImplementedByInstancesOf(C)
@@ -62,7 +62,7 @@
 
     def testObjectImplements(self):
         assert IC.isImplementedBy(C())
-        
+
         assert I1.isImplementedBy(A())
         assert I1.isImplementedBy(B())
         assert not I1.isImplementedBy(C())
@@ -119,12 +119,12 @@
         description = _I2.getDescriptionFor('a1')
         self.assertEqual(description.__name__, 'a1')
         self.assertEqual(description.__doc__, 'This is an attribute')
-    
+
 
 class _I1(Interface):
 
     a1 = Attribute("This is an attribute")
-    
+
     def f11(): pass
     def f12(): pass
 
@@ -144,4 +144,3 @@
 
 if __name__=="__main__":
     main()
-


=== Zope/lib/python/Interface/tests/testVerify.py 1.2 => 1.3 ===
--- Zope/lib/python/Interface/tests/testVerify.py:1.2	Fri Jun  7 13:18:29 2002
+++ Zope/lib/python/Interface/tests/testVerify.py	Wed Aug 14 17:35:33 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.
-# 
+#
 ##############################################################################
 """
 
@@ -45,7 +45,7 @@
         class I(Interface):
             def f(): pass
 
-        class C: 
+        class C:
 
             __implements__=I
 
@@ -62,7 +62,7 @@
 
         class C:
 
-            def f(self, b): pass 
+            def f(self, b): pass
 
             __implements__=I
 
@@ -96,7 +96,7 @@
 
         class C:
 
-            def f(self, a, b): pass 
+            def f(self, a, b): pass
 
             __implements__=I
 
@@ -117,7 +117,7 @@
 
         class C:
 
-            def f(self, a): pass 
+            def f(self, a): pass
 
             __implements__=I
 
@@ -134,7 +134,7 @@
 
         class C:
 
-            def f(self, a): pass 
+            def f(self, a): pass
 
             __implements__=I
 
@@ -150,7 +150,7 @@
         from Interface.tests import dummy
 
         verifyObject(IFoo, dummy)
-        
+
 
 
 def test_suite():


=== Zope/lib/python/Interface/tests/testVisitImplements.py 1.2 => 1.3 ===
--- Zope/lib/python/Interface/tests/testVisitImplements.py:1.2	Fri Jun  7 13:18:29 2002
+++ Zope/lib/python/Interface/tests/testVisitImplements.py	Wed Aug 14 17:35:33 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.
-# 
+#
 ##############################################################################
 import unittest, sys
 
@@ -32,7 +32,7 @@
         data=[]
         self.assertRaises(BadImplements,
                           visitImplements, unittest, None, data.append)
-        
+
     def testComplexImplements(self):
         data=[]
         visitImplements((I1, (I2, I3)), None, data.append)


=== Zope/lib/python/Interface/tests/unitfixtures.py 1.4 => 1.5 ===
--- Zope/lib/python/Interface/tests/unitfixtures.py:1.4	Tue Jun 11 11:34:28 2002
+++ Zope/lib/python/Interface/tests/unitfixtures.py	Wed Aug 14 17:35:33 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.
-# 
+#
 ##############################################################################
 from Interface import Interface
 from Interface.Attribute import Attribute
@@ -38,7 +38,7 @@
 
     def m2(a, b):
         "return 2"
-    
+
 
 
 C.__implements__=IC