Changeset 2014
- Timestamp:
- 07/05/08 15:54:31
- Files:
-
- trunk/cherrypy/test/modwsgi.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/test/modwsgi.py
r1824 r2014 36 36 curdir = os.path.join(os.getcwd(), os.path.dirname(__file__)) 37 37 import re 38 import sys 38 39 import time 39 40 … … 54 55 55 56 56 APACHE_PATH = "apache" 57 if sys.platform == 'win32': 58 APACHE_PATH = "httpd" 59 else: 60 APACHE_PATH = "apache" 61 57 62 CONF_PATH = "test_mw.conf" 58 63 … … 60 65 # Apache2 server conf file for testing CherryPy with modpython_gateway. 61 66 67 ServerName 127.0.0.1 62 68 DocumentRoot "/" 63 69 Listen %%s … … 141 147 "engine.SIGTERM": None, 142 148 }) 143 cherrypy.server.unsubscribe()144 cherrypy.engine.start(blocking=False)145 149 return cherrypy.tree(environ, start_response) 146 150

