summaryrefslogtreecommitdiff
path: root/addons/website_mail/tests/test_controllers.py
diff options
context:
space:
mode:
authorKeyur Gajjar <kga@odoo.com>2015-08-20 15:16:03 +0530
committerJérome Maes <jem@openerp.com>2016-04-13 11:20:53 +0200
commit30f48eb6b677105c47f67d66a71b1102cafbb558 (patch)
treec07109e1a159c812cd7dba403404905a5c92568e /addons/website_mail/tests/test_controllers.py
parentd672d8aa867140bec8bd3a3a2f89e22fb9f14364 (diff)
[MIG] website_mail: code migration to new api
No functional changes, only rewrite the code with the api.v8 which more pythonic and smooth.
Diffstat (limited to 'addons/website_mail/tests/test_controllers.py')
-rw-r--r--addons/website_mail/tests/test_controllers.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/website_mail/tests/test_controllers.py b/addons/website_mail/tests/test_controllers.py
index db326634903..a6d618b17d8 100644
--- a/addons/website_mail/tests/test_controllers.py
+++ b/addons/website_mail/tests/test_controllers.py
@@ -1,15 +1,15 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from openerp.addons.mail.tests.common import TestMail
-from openerp.addons.website_mail.controllers.main import WebsiteMail
-from openerp.tools import mute_logger, email_split
+from odoo.addons.mail.tests.common import TestMail
+from odoo.addons.website_mail.controllers.main import WebsiteMail
+from odoo.tools import mute_logger, email_split
class TestControllers(TestMail):
def test_00_subscribe(self):
- # from openerp.addons.web.http import request
+ # from odoo.addons.web.http import request
# print request
cr, uid = self.cr, self.uid