Commits

Robert Brewer committed 23ccf44

New path segment param test.

  • Participants
  • Parent commits afe62b3
  • Branches cherrypy-3.0.x

Comments (0)

Files changed (1)

File cherrypy/test/test_objectmapping.py

         # only the "final" index method should do so.
         self.getPage("/dir1/dir2/5/3/sir")
         self.assertBody("default for dir1, param is:('dir2', '5', '3', 'sir')")
+        
+        # try path segments with parameters
+        self.getPage("/dir1/dir2/posparam;jsessionid=D8E345")
+        self.assertBody("default for dir1, param is:('dir2', "
+                        "'posparam;jsessionid=D8E345')")
     
     def testExpose(self):
         # Test the cherrypy.expose function/decorator