[Zope3-checkins] CVS: Zope3/src/zope/schema/tests - test_boolfield.py:1.3 test_containerfield.py:1.2 test_dictfield.py:1.3 test_field.py:1.4 test_interfacefield.py:1.2 test_intfield.py:1.4 test_iterablefield.py:1.2 test_listfield.py:1.3 test_schema.py:1.5
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:17 -0400
Update of /cvs-repository/Zope3/src/zope/schema/tests
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/schema/tests
Modified Files:
test_boolfield.py test_containerfield.py test_dictfield.py
test_field.py test_interfacefield.py test_intfield.py
test_iterablefield.py test_listfield.py test_schema.py
Log Message:
Importgeddon part the second. Removed unused imports throughout the
source tree. This should have taken care of most unused imports
in Zope 3. :)
=== Zope3/src/zope/schema/tests/test_boolfield.py 1.2 => 1.3 ===
--- Zope3/src/zope/schema/tests/test_boolfield.py:1.2 Wed Dec 25 09:15:21 2002
+++ Zope3/src/zope/schema/tests/test_boolfield.py Thu May 1 15:35:46 2003
@@ -14,7 +14,7 @@
"""
$Id$
"""
-from unittest import TestSuite, main, makeSuite
+from unittest import main, makeSuite
from zope.schema import Bool
from zope.schema.errornames import RequiredMissing
from zope.schema.tests.test_field import FieldTestBase
=== Zope3/src/zope/schema/tests/test_containerfield.py 1.1 => 1.2 ===
--- Zope3/src/zope/schema/tests/test_containerfield.py:1.1 Fri Jan 24 21:49:27 2003
+++ Zope3/src/zope/schema/tests/test_containerfield.py Thu May 1 15:35:46 2003
@@ -15,7 +15,7 @@
$Id$
"""
from UserDict import UserDict
-from unittest import TestSuite, main, makeSuite
+from unittest import main, makeSuite
from zope.schema import Container
from zope.schema.errornames import RequiredMissing, NotAContainer
from zope.schema.tests.test_field import FieldTestBase
=== Zope3/src/zope/schema/tests/test_dictfield.py 1.2 => 1.3 ===
--- Zope3/src/zope/schema/tests/test_dictfield.py:1.2 Wed Dec 25 09:15:21 2002
+++ Zope3/src/zope/schema/tests/test_dictfield.py Thu May 1 15:35:46 2003
@@ -14,7 +14,7 @@
"""
$Id$
"""
-from unittest import TestSuite, main, makeSuite
+from unittest import main, makeSuite
from zope.schema import Dict, Int, Float
from zope.schema import errornames
from zope.schema.tests.test_field import FieldTestBase
=== Zope3/src/zope/schema/tests/test_field.py 1.3 => 1.4 ===
--- Zope3/src/zope/schema/tests/test_field.py:1.3 Thu Mar 13 13:49:16 2003
+++ Zope3/src/zope/schema/tests/test_field.py Thu May 1 15:35:46 2003
@@ -16,9 +16,8 @@
"""
from unittest import TestCase, TestSuite, main, makeSuite
from zope.schema import Field, Text, Int
-from zope.schema.interfaces import IField
from zope.schema import errornames
-from zope.schema.interfaces import StopValidation, ValidationError
+from zope.schema.interfaces import ValidationError
class FieldTestBase(TestCase):
=== Zope3/src/zope/schema/tests/test_interfacefield.py 1.1 => 1.2 ===
--- Zope3/src/zope/schema/tests/test_interfacefield.py:1.1 Thu Apr 24 16:51:58 2003
+++ Zope3/src/zope/schema/tests/test_interfacefield.py Thu May 1 15:35:46 2003
@@ -14,7 +14,7 @@
"""
$Id$
"""
-from unittest import TestSuite, main, makeSuite
+from unittest import main, makeSuite
from zope.schema import InterfaceField
from zope.schema.errornames import RequiredMissing, WrongType
from zope.schema.tests.test_field import FieldTestBase
=== Zope3/src/zope/schema/tests/test_intfield.py 1.3 => 1.4 ===
--- Zope3/src/zope/schema/tests/test_intfield.py:1.3 Mon Apr 14 12:13:43 2003
+++ Zope3/src/zope/schema/tests/test_intfield.py Thu May 1 15:35:46 2003
@@ -14,7 +14,7 @@
"""
$Id$
"""
-from unittest import TestSuite, main, makeSuite
+from unittest import main, makeSuite
from zope.schema import Int, EnumeratedInt
from zope.schema import errornames
from zope.schema.tests.test_field import FieldTestBase
=== Zope3/src/zope/schema/tests/test_iterablefield.py 1.1 => 1.2 ===
--- Zope3/src/zope/schema/tests/test_iterablefield.py:1.1 Fri Jan 24 21:49:27 2003
+++ Zope3/src/zope/schema/tests/test_iterablefield.py Thu May 1 15:35:46 2003
@@ -15,7 +15,7 @@
$Id$
"""
from UserDict import UserDict, IterableUserDict
-from unittest import TestSuite, main, makeSuite
+from unittest import main, makeSuite
from zope.schema import Iterable
from zope.schema.errornames import RequiredMissing
from zope.schema.errornames import NotAContainer, NotAnIterator
=== Zope3/src/zope/schema/tests/test_listfield.py 1.2 => 1.3 ===
--- Zope3/src/zope/schema/tests/test_listfield.py:1.2 Wed Dec 25 09:15:21 2002
+++ Zope3/src/zope/schema/tests/test_listfield.py Thu May 1 15:35:46 2003
@@ -14,7 +14,7 @@
"""
$Id$
"""
-from unittest import TestSuite, main, makeSuite
+from unittest import main, makeSuite
from zope.schema import List, Int, Float
from zope.schema import errornames
from zope.schema.tests.test_field import FieldTestBase
=== Zope3/src/zope/schema/tests/test_schema.py 1.4 => 1.5 ===
--- Zope3/src/zope/schema/tests/test_schema.py:1.4 Mon Jan 27 21:56:46 2003
+++ Zope3/src/zope/schema/tests/test_schema.py Thu May 1 15:35:46 2003
@@ -14,11 +14,9 @@
"""
$Id$
"""
-from unittest import TestCase, TestSuite, main, makeSuite
-from zope.schema.interfaces import StopValidation, ValidationError
+from unittest import TestCase, main, makeSuite
from zope.interface import Interface
from zope.schema import Bytes
-from zope.schema.errornames import RequiredMissing
from zope.schema import getFields, getFieldsInOrder
from zope.schema import getFieldNames, getFieldNamesInOrder