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

Changeset 719

Show
Ignore:
Timestamp:
10/06/05 02:33:33
Author:
fumanchu
Message:

Removed a couple of test suite dependencies on httptools.

Files:

Legend:

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

    r522 r719  
    2828 
    2929import cherrypy 
    30 from cherrypy.lib import httptools 
    3130 
    3231 
    3332class Root: 
    3433    def index(self): 
    35         return httptools.redirect('dummy') 
     34        raise cherrypy.HTTPRedirect('dummy') 
    3635    index.exposed = True 
    3736 
  • trunk/cherrypy/test/test_objectmapping.py

    r673 r719  
    3030 
    3131import cherrypy 
    32 from cherrypy.lib import httptools 
     32 
    3333 
    3434class Root: 
     
    5050     
    5151    def redirect(self): 
    52         return httptools.redirect('dir1/'
     52        raise cherrypy.HTTPRedirect('dir1/', 302
    5353    redirect.exposed = True 
    5454     

Hosted by WebFaction

Log in as guest/cpguest to create tickets