[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup/tests -
testStarter.py:1.10
Fred L. Drake, Jr.
fred at zope.com
Mon Jan 5 10:56:48 EST 2004
Update of /cvs-repository/Zope/lib/python/Zope/Startup/tests
In directory cvs.zope.org:/tmp/cvs-serv24009
Modified Files:
testStarter.py
Log Message:
clean up some imports
=== Zope/lib/python/Zope/Startup/tests/testStarter.py 1.9 => 1.10 ===
--- Zope/lib/python/Zope/Startup/tests/testStarter.py:1.9 Sun Dec 21 19:26:39 2003
+++ Zope/lib/python/Zope/Startup/tests/testStarter.py Mon Jan 5 10:56:47 2004
@@ -13,8 +13,10 @@
##############################################################################
""" Tests of the ZopeStarter class """
-import os
import cStringIO
+import logging
+import os
+import sys
import tempfile
import unittest
@@ -23,7 +25,6 @@
from Zope.Startup import ZopeStarter
from App.config import getConfiguration, setConfiguration
-import logging
TEMPNAME = tempfile.mktemp()
TEMPPRODUCTS = os.path.join(TEMPNAME, "Products")
@@ -102,7 +103,6 @@
def testSetupStartupHandler(self):
import zLOG
- import sys
conf = self.load_config_text("""
instancehome <<INSTANCE_HOME>>
debug-mode on
@@ -246,8 +246,6 @@
def testSetupConfiguredLoggers(self):
import zLOG
- import logging
- import sys
conf = self.load_config_text("""
instancehome <<INSTANCE_HOME>>
debug-mode off
More information about the Zope-Checkins
mailing list