Changeset 552
- Timestamp:
- 08/24/05 12:24:55
- Files:
-
- trunk/cherrypy/test/test_objectmapping.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/test/test_objectmapping.py
r522 r552 53 53 def notExposed(self): 54 54 return "not exposed" 55 56 def mapped_func(self, ID=None): 57 return "ID is %s" % ID 58 mapped_func.exposed = True 59 setattr(Root, "Von B\xfclow", mapped_func) 55 60 56 61 … … 137 142 self.assertHeader('Location', 'http://%s:%s/dir1/' 138 143 % (self.HOST, self.PORT)) 144 145 # Test that we can use URL's which aren't all valid Python identifiers 146 self.getPage("/Von%20B\xfclow?ID=14") 147 self.assertBody("ID is 14") 139 148 140 149

