Commit 25176ce9 authored by Fred Drake's avatar Fred Drake

clean up some imports

parent ec8d1881
...@@ -13,8 +13,10 @@ ...@@ -13,8 +13,10 @@
############################################################################## ##############################################################################
""" Tests of the ZopeStarter class """ """ Tests of the ZopeStarter class """
import os
import cStringIO import cStringIO
import logging
import os
import sys
import tempfile import tempfile
import unittest import unittest
...@@ -23,7 +25,6 @@ import Zope.Startup ...@@ -23,7 +25,6 @@ import Zope.Startup
from Zope.Startup import ZopeStarter from Zope.Startup import ZopeStarter
from App.config import getConfiguration, setConfiguration from App.config import getConfiguration, setConfiguration
import logging
TEMPNAME = tempfile.mktemp() TEMPNAME = tempfile.mktemp()
TEMPPRODUCTS = os.path.join(TEMPNAME, "Products") TEMPPRODUCTS = os.path.join(TEMPNAME, "Products")
...@@ -102,7 +103,6 @@ class ZopeStarterTestCase(unittest.TestCase): ...@@ -102,7 +103,6 @@ class ZopeStarterTestCase(unittest.TestCase):
def testSetupStartupHandler(self): def testSetupStartupHandler(self):
import zLOG import zLOG
import sys
conf = self.load_config_text(""" conf = self.load_config_text("""
instancehome <<INSTANCE_HOME>> instancehome <<INSTANCE_HOME>>
debug-mode on debug-mode on
...@@ -246,8 +246,6 @@ class ZopeStarterTestCase(unittest.TestCase): ...@@ -246,8 +246,6 @@ class ZopeStarterTestCase(unittest.TestCase):
def testSetupConfiguredLoggers(self): def testSetupConfiguredLoggers(self):
import zLOG import zLOG
import logging
import sys
conf = self.load_config_text(""" conf = self.load_config_text("""
instancehome <<INSTANCE_HOME>> instancehome <<INSTANCE_HOME>>
debug-mode off debug-mode off
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment