Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 2014

Show
Ignore:
Timestamp:
07/05/08 15:54:31
Author:
fumanchu
Message:

Updates to modwsgi test harness.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/test/modwsgi.py

    r1824 r2014  
    3636curdir = os.path.join(os.getcwd(), os.path.dirname(__file__)) 
    3737import re 
     38import sys 
    3839import time 
    3940 
     
    5455 
    5556 
    56 APACHE_PATH = "apache" 
     57if sys.platform == 'win32': 
     58    APACHE_PATH = "httpd" 
     59else: 
     60    APACHE_PATH = "apache" 
     61 
    5762CONF_PATH = "test_mw.conf" 
    5863 
     
    6065# Apache2 server conf file for testing CherryPy with modpython_gateway. 
    6166 
     67ServerName 127.0.0.1 
    6268DocumentRoot "/" 
    6369Listen %%s 
     
    141147            "engine.SIGTERM": None, 
    142148            }) 
    143         cherrypy.server.unsubscribe() 
    144         cherrypy.engine.start(blocking=False) 
    145149    return cherrypy.tree(environ, start_response) 
    146150 

Hosted by WebFaction

Log in as guest/cpguest to create tickets