Changeset 1674
- Timestamp:
- 06/18/07 12:40:50
- Files:
-
- trunk/cherrypy/test/test_virtualhost.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/test/test_virtualhost.py
r1470 r1674 106 106 self.assertStatus('200 OK') 107 107 self.assertBody('Hello, world\r\n') 108 # Since tools.trailing_slash is on by default, this should redirect 108 109 self.getPage("/static2", [('Host', 'www.mydom2.com')]) 109 self.assertStatus('200 OK') 110 self.assertBody('Hello, world\r\n') 110 self.assertStatus((302, 303)) 111 111 112 112

