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

Changeset 1802

Show
Ignore:
Timestamp:
10/28/07 13:53:34
Author:
fumanchu
Message:

Forward port to trunk of 3.0.x [1716]. New support for mod_wsgi in the test suite. Use test.py --server=modwsgi.

Files:

Legend:

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

    r1772 r1802  
    8989                         'cpmodpy': "cpmodpy", 
    9090                         'modpygw': "modpygw", 
     91                         'modwsgi': "modwsgi", 
    9192                         } 
    9293    default_server = "wsgi" 
     
    325326                                           "http", self.interactive) 
    326327            h.use_wsgi = True 
     328        elif self.server == 'modwsgi': 
     329            from cherrypy.test import modwsgi 
     330            h = modwsgi.ModWSGITestHarness(self.tests, self.server, 
     331                                           self.protocol, self.port, 
     332                                           "http", self.interactive) 
     333            h.use_wsgi = True 
    327334        else: 
    328335            h = TestHarness(self.tests, self.server, self.protocol, 

Hosted by WebFaction

Log in as guest/cpguest to create tickets