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

Changeset 2060

Show
Ignore:
Timestamp:
10/31/08 09:19:03
Author:
lakin
Message:

#869 - Test proving that this won't break current web applications that use dispatch as a name for their controllers.

Files:

Legend:

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

    r2059 r2060  
    2121            return "SubSubRoot handler" 
    2222        handler.exposed = True 
     23 
     24        def dispatch(self): 
     25            return "SubSubRoot dispatch" 
     26        dispatch.exposed = True 
    2327 
    2428    subsubnodes = { 
     
    218222            self.assertBody('SubSubRoot handler') 
    219223 
     224            self.getPage('/2/2/dispatch') 
     225            self.assertBody('SubSubRoot dispatch') 
     226 
    220227            # Dynamic dispatch will fail here for the subsubnodes 
    221228            # so the SubRoot gets called 

Hosted by WebFaction

Log in as guest/cpguest to create tickets