summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2012-12-26 07:36:28 -0500
committerJason R. Coombs <jaraco@jaraco.com>2012-12-26 07:36:28 -0500
commitb8cfa09d45973e844dd497608006684b1c05ac52 (patch)
tree9cbe2793b69c317bbbd91f907b6921d22c667a93
parent7abcccc323c0f86fb00bd9dd196e9ab24f857982 (diff)
downloadcherrypy-b8cfa09d45973e844dd497608006684b1c05ac52.tar.gz
Move import to the top
-rw-r--r--cherrypy/test/test_states.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/cherrypy/test/test_states.py b/cherrypy/test/test_states.py
index 8c130861..ee86a52d 100644
--- a/cherrypy/test/test_states.py
+++ b/cherrypy/test/test_states.py
@@ -8,6 +8,7 @@ import socket
import cherrypy
import cherrypy.process.servers
+from cherrypy.test import helper
engine = cherrypy.engine
thisdir = os.path.join(os.getcwd(), os.path.dirname(__file__))
@@ -83,13 +84,8 @@ def setup_server():
db_connection.subscribe()
-
-
# ------------ Enough helpers. Time for real live test cases. ------------ #
-
-from cherrypy.test import helper
-
class ServerStateTests(helper.CPWebCase):
setup_server = staticmethod(setup_server)