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

Changeset 1716

Show
Ignore:
Timestamp:
09/01/07 10:43:50
Author:
fumanchu
Message:

New support for mod_wsgi in the test suite. Use test.py --server=modwsgi.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/cherrypy-3.0.x/cherrypy/test/test.py

    r1711 r1716  
    8888                         'cpmodpy': "cpmodpy", 
    8989                         'modpygw': "modpygw", 
     90                         'modwsgi': "modwsgi", 
    9091                         } 
    9192    default_server = "wsgi" 
     
    324325                                           "http", self.interactive) 
    325326            h.use_wsgi = True 
     327        elif self.server == 'modwsgi': 
     328            from cherrypy.test import modwsgi 
     329            h = modwsgi.ModWSGITestHarness(self.tests, self.server, 
     330                                           self.protocol, self.port, 
     331                                           "http", self.interactive) 
     332            h.use_wsgi = True 
    326333        else: 
    327334            h = TestHarness(self.tests, self.server, self.protocol, 
     
    373380        'test_tidy', 
    374381        'test_xmlrpc', 
    375         'test_wsgiapps', 
     382##        'test_wsgiapps', 
    376383        'test_wsgi_ns', 
    377384         

Hosted by WebFaction

Log in as guest/cpguest to create tickets