[Zope3-checkins] CVS: Zope3/src/zope/schema/tests - test_accessors.py:1.2 test_equality.py:1.3
Viktorija Zaksiene
ryzaja@codeworks.lt
Mon, 12 May 2003 06:02:42 -0400
Update of /cvs-repository/Zope3/src/zope/schema/tests
In directory cvs.zope.org:/tmp/cvs-serv32410/tests
Modified Files:
test_accessors.py test_equality.py
Log Message:
Cleanup: removed unused imports and whitespaces.
=== Zope3/src/zope/schema/tests/test_accessors.py 1.1 => 1.2 ===
--- Zope3/src/zope/schema/tests/test_accessors.py:1.1 Mon Apr 14 04:21:17 2003
+++ Zope3/src/zope/schema/tests/test_accessors.py Mon May 12 06:02:41 2003
@@ -62,7 +62,7 @@
self.assertEqual(getattr(I['getFoo'], attr), getattr(field, attr))
self.assert_(IText.isImplementedBy(I['getFoo']))
-
+
self.assertEqual(I['setFoo'].field, field)
self.assertEqual(I['setFoo'].__name__, 'setFoo')
self.assertEqual(I['setFoo'].__doc__, u'set Foo thing')
@@ -70,7 +70,7 @@
self.assertRaises(Exception, verifyClass, I, Bad)
self.assertRaises(Exception, verifyObject, I, Bad())
-
+
verifyClass(I, Good)
verifyObject(I, Good())
=== Zope3/src/zope/schema/tests/test_equality.py 1.2 => 1.3 ===
--- Zope3/src/zope/schema/tests/test_equality.py:1.2 Wed Dec 25 09:15:21 2002
+++ Zope3/src/zope/schema/tests/test_equality.py Mon May 12 06:02:41 2003
@@ -15,7 +15,7 @@
$Id$
"""
from unittest import TestCase, TestSuite, makeSuite
-from zope.schema import Field, Text, Int
+from zope.schema import Text, Int
class FieldEqualityTests(TestCase):