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

Changeset 1360

Show
Ignore:
Timestamp:
09/13/06 10:33:05
Author:
dowski
Message:

Simple test that demonstrates that cherrypy.request.path is not getting populated correctly. It is an empty string.

Files:

Legend:

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

    r1359 r1360  
    392392 
    393393class CoreRequestHandlingTest(helper.CPWebCase): 
     394     
     395    def testRequestPath(self): 
     396        self.getPage("/andnow") 
     397        self.assertStatus("200 OK") 
     398        self.assertEqual(cherrypy.request.path, "/andnow") 
    394399     
    395400    def testParams(self): 

Hosted by WebFaction

Log in as guest/cpguest to create tickets