diff options
Diffstat (limited to 'addons/web/controllers/testing.py')
| -rw-r--r-- | addons/web/controllers/testing.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/controllers/testing.py b/addons/web/controllers/testing.py index 3c7c4899b6c..86940f41583 100644 --- a/addons/web/controllers/testing.py +++ b/addons/web/controllers/testing.py @@ -11,7 +11,7 @@ from mako.template import Template from openerp.modules import module from .main import module_topological_sort -from ..http import Controller, httprequest +from .. import http NOMODULE_TEMPLATE = Template(u"""<!DOCTYPE html> <html> @@ -82,10 +82,10 @@ TESTING = Template(u"""<!DOCTYPE html> </html> """) -class TestRunnerController(Controller): +class TestRunnerController(http.Controller): _cp_path = '/web/tests' - @httprequest + @http.httprequest def index(self, req, mod=None, **kwargs): ms = module.get_modules() manifests = dict( |
