Changeset 719
- Timestamp:
- 10/06/05 02:33:33
- Files:
-
- trunk/cherrypy/test/test_baseurl_filter.py (modified) (1 diff)
- trunk/cherrypy/test/test_objectmapping.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/test/test_baseurl_filter.py
r522 r719 28 28 29 29 import cherrypy 30 from cherrypy.lib import httptools31 30 32 31 33 32 class Root: 34 33 def index(self): 35 r eturn httptools.redirect('dummy')34 raise cherrypy.HTTPRedirect('dummy') 36 35 index.exposed = True 37 36 trunk/cherrypy/test/test_objectmapping.py
r673 r719 30 30 31 31 import cherrypy 32 from cherrypy.lib import httptools 32 33 33 34 34 class Root: … … 50 50 51 51 def redirect(self): 52 r eturn httptools.redirect('dir1/')52 raise cherrypy.HTTPRedirect('dir1/', 302) 53 53 redirect.exposed = True 54 54

