summaryrefslogtreecommitdiff
path: root/cherrypy/test/test_objectmapping.py
diff options
context:
space:
mode:
Diffstat (limited to 'cherrypy/test/test_objectmapping.py')
-rw-r--r--cherrypy/test/test_objectmapping.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/cherrypy/test/test_objectmapping.py b/cherrypy/test/test_objectmapping.py
index 1540a4fe..33ad1468 100644
--- a/cherrypy/test/test_objectmapping.py
+++ b/cherrypy/test/test_objectmapping.py
@@ -126,14 +126,11 @@ def setup_server():
for url in script_names:
d = cherrypy._cprequest.MethodDispatcher()
conf = {'/': {'user': (url or "/").split("/")[-2]},
- '/bymethod': {'dispatch': d},
+ '/bymethod': {'request.dispatch': d},
}
cherrypy.tree.mount(Root(), url, conf)
- cherrypy.config.update({
- 'log_to_screen': False,
- 'environment': "production",
- })
+ cherrypy.config.update({'environment': "test_suite"})
class Isolated: