[Zope3-checkins] CVS: Zope3/src/zope/app/startup/tests - test_registerrequestfactory.py:1.6 test_registerservertype.py:1.4 test_startupdirectives.py:1.5
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:08 -0400
Update of /cvs-repository/Zope3/src/zope/app/startup/tests
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/app/startup/tests
Modified Files:
test_registerrequestfactory.py test_registerservertype.py
test_startupdirectives.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/startup/tests/test_registerrequestfactory.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/startup/tests/test_registerrequestfactory.py:1.5 Thu Mar 13 13:49:10 2003
+++ Zope3/src/zope/app/startup/tests/test_registerrequestfactory.py Thu May 1 15:35:37 2003
@@ -17,7 +17,6 @@
"""
import unittest
-from cStringIO import StringIO
from zope.configuration.xmlconfig import xmlconfig
from zope.configuration.tests.basetestdirectivesxml import makeconfig
from zope.app.startup.requestfactoryregistry import getRequestFactory
=== Zope3/src/zope/app/startup/tests/test_registerservertype.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/startup/tests/test_registerservertype.py:1.3 Thu Mar 13 13:49:10 2003
+++ Zope3/src/zope/app/startup/tests/test_registerservertype.py Thu May 1 15:35:37 2003
@@ -15,7 +15,6 @@
"""
import unittest
-from cStringIO import StringIO
from zope.configuration.xmlconfig import xmlconfig
from zope.configuration.tests.basetestdirectivesxml import makeconfig
from zope.app.startup.servertyperegistry import getServerType
=== Zope3/src/zope/app/startup/tests/test_startupdirectives.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/startup/tests/test_startupdirectives.py:1.4 Fri Feb 28 17:37:51 2003
+++ Zope3/src/zope/app/startup/tests/test_startupdirectives.py Thu May 1 15:35:37 2003
@@ -22,7 +22,6 @@
from zope.app.services.tests.placefulsetup import PlacefulSetup
from zope.app.startup.metaconfigure import SiteDefinition
from zope.configuration.name import resolve
-from zope.component.adapter import provideAdapter
_fsname = tempfile.mktemp()+'.fs'
@@ -83,8 +82,6 @@
def testAddServer(self):
sd = self._createBlankSiteDefinition()
-
- from zope.configuration.action import Action
self.assertEqual(sd.addServer(ContextStub(), 'Browser',
'8081', 'true'), [])