[Zope3-checkins] CVS: Zope3/src/zope/app/tests - test_attributeannotations.py:1.3 test_clipboard.py:1.5 test_datetimeparse.py:1.4
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:08 -0400
Update of /cvs-repository/Zope3/src/zope/app/tests
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/app/tests
Modified Files:
test_attributeannotations.py test_clipboard.py
test_datetimeparse.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/app/tests/test_attributeannotations.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/tests/test_attributeannotations.py:1.2 Wed Dec 25 09:13:26 2002
+++ Zope3/src/zope/app/tests/test_attributeannotations.py Thu May 1 15:35:37 2003
@@ -17,12 +17,11 @@
$Id$
"""
-from unittest import TestCase, TestSuite, main, makeSuite
+from unittest import TestCase, main, makeSuite
from zope.testing.cleanup import CleanUp # Base class w registry cleanup
from zope.app.tests.annotations import Annotations
from zope.app.attributeannotations import AttributeAnnotations
-from zope.app.interfaces.annotation \
- import IAttributeAnnotatable
+from zope.app.interfaces.annotation import IAttributeAnnotatable
class Dummy:
__implements__ = IAttributeAnnotatable
=== Zope3/src/zope/app/tests/test_clipboard.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/tests/test_clipboard.py:1.4 Thu Mar 13 13:49:11 2003
+++ Zope3/src/zope/app/tests/test_clipboard.py Thu May 1 15:35:37 2003
@@ -19,15 +19,13 @@
from unittest import TestCase, TestSuite, main, makeSuite
from zope.app.interfaces.copypastemove import IPrincipalClipboard
from zope.app.copypastemove import PrincipalClipboard
-from zope.app.interfaces.services.auth import IUser
from zope.component import getAdapter, getService, getServiceManager
from zope.component.adapter import provideAdapter
from zope.app.services.principalannotation \
import PrincipalAnnotationService
from zope.app.interfaces.services.principalannotation \
import IPrincipalAnnotationService
-from zope.app.services.tests.placefulsetup \
- import PlacefulSetup
+from zope.app.services.tests.placefulsetup import PlacefulSetup
from zope.app.interfaces.annotation import IAnnotations
class PrincipalClipboardTest(AuthSetup, PlacefulSetup, TestCase):
=== Zope3/src/zope/app/tests/test_datetimeparse.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/tests/test_datetimeparse.py:1.3 Wed Jan 8 15:18:31 2003
+++ Zope3/src/zope/app/tests/test_datetimeparse.py Thu May 1 15:35:37 2003
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-import unittest, sys
+import unittest
from zope.app.datetimeutils import parse, time, DateTimeError
class Test(unittest.TestCase):