diff options
| author | fwi-odoo <fwi@odoo.com> | 2016-07-26 12:06:35 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2016-08-03 13:42:25 +0200 |
| commit | a32c1d3c8dfd3d4684f89a6181f3a093dde26ae6 (patch) | |
| tree | 392ca984f973bbb1c50b66d1a771f6d3c488313b /addons/web_editor/tests | |
| parent | 65fbeb21f6d27068b0a598eb9c84eb35755249a7 (diff) | |
[MIG] web_editor: migrate to new api
Diffstat (limited to 'addons/web_editor/tests')
| -rw-r--r-- | addons/web_editor/tests/__init__.py | 2 | ||||
| -rw-r--r-- | addons/web_editor/tests/test_converter.py | 6 | ||||
| -rw-r--r-- | addons/web_editor/tests/test_ui.py | 7 |
3 files changed, 11 insertions, 4 deletions
diff --git a/addons/web_editor/tests/__init__.py b/addons/web_editor/tests/__init__.py index ee3fba301a9..38349dc4494 100644 --- a/addons/web_editor/tests/__init__.py +++ b/addons/web_editor/tests/__init__.py @@ -1,3 +1,5 @@ # -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + import test_ui import test_converter diff --git a/addons/web_editor/tests/test_converter.py b/addons/web_editor/tests/test_converter.py index 6b3d51ff922..91d4b578383 100644 --- a/addons/web_editor/tests/test_converter.py +++ b/addons/web_editor/tests/test_converter.py @@ -1,12 +1,14 @@ # -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + import textwrap import unittest from lxml import etree, html from lxml.builder import E -from openerp.tests import common -from openerp.addons.web_editor.models.ir_qweb import html_to_text +from odoo.tests import common +from odoo.addons.web_editor.models.ir_qweb import html_to_text class TestHTMLToText(unittest.TestCase): diff --git a/addons/web_editor/tests/test_ui.py b/addons/web_editor/tests/test_ui.py index 8fb85d6569f..956f9953a04 100644 --- a/addons/web_editor/tests/test_ui.py +++ b/addons/web_editor/tests/test_ui.py @@ -1,7 +1,10 @@ -import openerp.tests +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. +import odoo.tests -class TestUi(openerp.tests.HttpCase): + +class TestUi(odoo.tests.HttpCase): post_install = True at_install = False |
