summaryrefslogtreecommitdiff
path: root/cherrypy/test/modpy.py
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2009-10-03 16:44:53 +0000
committerRobert Brewer <fumanchu@aminus.org>2009-10-03 16:44:53 +0000
commit9913ddbc3056c2015a838f43b41371cf6daec328 (patch)
treed318d53a2370150ef4c6bca63458e45204aab85e /cherrypy/test/modpy.py
parentae56abbd41f28fdd2bd28031652df851de190ae2 (diff)
downloadcherrypy-git-9913ddbc3056c2015a838f43b41371cf6daec328.tar.gz
Merged the 'gateways' branch into trunk.
Diffstat (limited to 'cherrypy/test/modpy.py')
-rw-r--r--cherrypy/test/modpy.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/cherrypy/test/modpy.py b/cherrypy/test/modpy.py
index 61a76976..fff677d4 100644
--- a/cherrypy/test/modpy.py
+++ b/cherrypy/test/modpy.py
@@ -91,12 +91,11 @@ PythonOption socket_host %(host)s
PythonDebug On
"""
-class ServerControl(object):
+class ModPythonSupervisor(test.Supervisor):
- def __init__(self, host, port, template):
- self.host = host
- self.port = port
- self.template = template
+ using_apache = True
+ using_wsgi = False
+ template = None
def __str__(self):
return "ModPython Server on %s:%s" % (self.host, self.port)