summaryrefslogtreecommitdiff
path: root/addons/web/controllers/testing.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/controllers/testing.py')
-rw-r--r--addons/web/controllers/testing.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/web/controllers/testing.py b/addons/web/controllers/testing.py
index 8b89ab8ac9d..5e156dc410e 100644
--- a/addons/web/controllers/testing.py
+++ b/addons/web/controllers/testing.py
@@ -86,10 +86,8 @@ TESTING = Template(u"""<!DOCTYPE html>
""", default_filters=['h'])
class TestRunnerController(http.Controller):
- _cp_path = '/web/tests'
- @http.httprequest
- @http.nodb
+ @http.route('/web/tests', type='http', authentication="nodb")
def index(self, req, mod=None, **kwargs):
ms = module.get_modules()
manifests = dict(