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

Changeset 1686

Show
Ignore:
Timestamp:
06/23/07 19:06:25
Author:
fumanchu
Message:

modpy wasn't using the "test_suite" environment.

Files:

Legend:

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

    r1627 r1686  
    1 """Wrapper for mod_python, for use as a CherryPy HTTP server
     1"""Wrapper for mod_python, for use as a CherryPy HTTP server when testing
    22 
    33To autostart modpython, the "apache" executable or script must be 
     
    66create a symlink to them if needed. 
    77 
    8 If you wish to use the WSGI interface instead of our _cpmodpy interface, 
     8If you wish to test the WSGI interface instead of our _cpmodpy interface, 
    99you also need the 'modpython_gateway' module at: 
    1010http://projects.amor.org/misc/wiki/ModPythonGateway 
     
    3030    instead of REQUEST_CHUNKED_DECHUNK, see Apache2's http_protocol.c and 
    3131    mod_python's requestobject.c). 
     328. Apache will output a "Content-Length: 0" response header even if there's 
     33    no response entity body. This isn't really a bug; it just differs from 
     34    the CherryPy default. 
    3235""" 
    3336 
     
    117120        cherrypy.config.update({ 
    118121            "log.error_file": os.path.join(curdir, "test.log"), 
    119             "environment": "production", 
     122            "environment": "test_suite", 
    120123            }) 
    121124        cherrypy.engine.start() 

Hosted by WebFaction

Log in as guest/cpguest to create tickets