[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/tests - test_acquire.py:1.5 test_atteritem.py:1.4 test_etc.py:1.5 test_namespacetrversal.py:1.4 test_objectname.py:1.7 test_physicallocationadapters.py:1.7 test_presentation.py:1.4 test_skin.py:1.4
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:09 -0400
Update of /cvs-repository/Zope3/src/zope/app/traversing/tests
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/app/traversing/tests
Modified Files:
test_acquire.py test_atteritem.py test_etc.py
test_namespacetrversal.py test_objectname.py
test_physicallocationadapters.py test_presentation.py
test_skin.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/traversing/tests/test_acquire.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/traversing/tests/test_acquire.py:1.4 Sat Dec 28 12:49:34 2002
+++ Zope3/src/zope/app/traversing/tests/test_acquire.py Thu May 1 15:35:38 2003
@@ -17,12 +17,12 @@
$Id$
"""
-from unittest import TestCase, TestSuite, main, makeSuite
+from unittest import TestCase, main, makeSuite
from zope.app.tests.placelesssetup import PlacelessSetup
from zope.app.interfaces.traversing import ITraversable
from zope.app.traversing.adapters import DefaultTraversable
from zope.component.adapter import provideAdapter
-from zope.proxy.context import ContextWrapper, getWrapperContext
+from zope.proxy.context import ContextWrapper
from zope.app.traversing.namespace import acquire
from zope.exceptions import NotFoundError
=== Zope3/src/zope/app/traversing/tests/test_atteritem.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/traversing/tests/test_atteritem.py:1.3 Sat Dec 28 12:49:34 2002
+++ Zope3/src/zope/app/traversing/tests/test_atteritem.py Thu May 1 15:35:38 2003
@@ -17,7 +17,7 @@
$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
=== Zope3/src/zope/app/traversing/tests/test_etc.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/traversing/tests/test_etc.py:1.4 Sun Mar 23 17:35:43 2003
+++ Zope3/src/zope/app/traversing/tests/test_etc.py Thu May 1 15:35:38 2003
@@ -17,7 +17,7 @@
$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
class Test(CleanUp, TestCase):
=== Zope3/src/zope/app/traversing/tests/test_namespacetrversal.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/traversing/tests/test_namespacetrversal.py:1.3 Sat Dec 28 12:49:34 2002
+++ Zope3/src/zope/app/traversing/tests/test_namespacetrversal.py Thu May 1 15:35:38 2003
@@ -17,7 +17,7 @@
$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
class C:
=== Zope3/src/zope/app/traversing/tests/test_objectname.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/traversing/tests/test_objectname.py:1.6 Tue Feb 11 21:17:40 2003
+++ Zope3/src/zope/app/traversing/tests/test_objectname.py Thu May 1 15:35:38 2003
@@ -16,7 +16,7 @@
Revision information:
$Id$
"""
-from unittest import TestCase, TestSuite, main, makeSuite
+from unittest import TestCase, main, makeSuite
from zope.interface import Interface
from zope.app.tests.placelesssetup import PlacelessSetup
@@ -25,7 +25,7 @@
from zope.proxy.context import ContextWrapper
from zope.app.interfaces.traversing import IObjectName
-from zope.app.traversing.adapters import ObjectName, SiteObjectName
+from zope.app.traversing.adapters import ObjectName
class IRoot(Interface): pass
=== Zope3/src/zope/app/traversing/tests/test_physicallocationadapters.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/traversing/tests/test_physicallocationadapters.py:1.6 Wed Mar 19 14:57:34 2003
+++ Zope3/src/zope/app/traversing/tests/test_physicallocationadapters.py Thu May 1 15:35:38 2003
@@ -15,7 +15,7 @@
$Id$
"""
-from unittest import TestCase, TestSuite, main, makeSuite
+from unittest import TestCase, main, makeSuite
from zope.app.tests.placelesssetup import PlacelessSetup
from zope.component.adapter import provideAdapter
from zope.component import getAdapter
=== Zope3/src/zope/app/traversing/tests/test_presentation.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/traversing/tests/test_presentation.py:1.3 Sat Dec 28 12:49:34 2002
+++ Zope3/src/zope/app/traversing/tests/test_presentation.py Thu May 1 15:35:38 2003
@@ -17,12 +17,11 @@
$Id$
"""
-from unittest import TestCase, TestSuite, main, makeSuite
+from unittest import TestCase, main, makeSuite
from zope.app.tests.placelesssetup import PlacelessSetup
from zope.component.view import provideView
from zope.component.resource import provideResource
from zope.app.traversing.namespace import view, resource
-from zope.exceptions import NotFoundError
from zope.interface import Interface
class IContent(Interface): pass
=== Zope3/src/zope/app/traversing/tests/test_skin.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/traversing/tests/test_skin.py:1.3 Sat Dec 28 12:49:34 2002
+++ Zope3/src/zope/app/traversing/tests/test_skin.py Thu May 1 15:35:38 2003
@@ -17,7 +17,7 @@
$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.publisher.browser import TestRequest