Browse Source
Merge pull request #460 from Tecnativa/9.0-web_readonly_bypass-fix_tests
Merge pull request #460 from Tecnativa/9.0-web_readonly_bypass-fix_tests
[9.0][web_duplicate_visibility][web_readonly_bypass] Fix Travis.pull/346/merge
Pedro M. Baeza
8 years ago
committed by
GitHub
11 changed files with 242 additions and 203 deletions
-
6web_duplicate_visibility/README.rst
-
4web_duplicate_visibility/__openerp__.py
-
38web_duplicate_visibility/static/test/duplicate_visibility.js
-
5web_duplicate_visibility/tests/__init__.py
-
14web_duplicate_visibility/tests/test_js.py
-
18web_readonly_bypass/README.rst
-
6web_readonly_bypass/__openerp__.py
-
2web_readonly_bypass/static/src/js/readonly_bypass.js
-
79web_readonly_bypass/static/test/web_readonly_bypass.js
-
5web_readonly_bypass/tests/__init__.py
-
14web_readonly_bypass/tests/test_js.py
@ -0,0 +1,5 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com> |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
|
|||
from . import test_js |
@ -0,0 +1,14 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com> |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
|
|||
from openerp.tests import HttpCase |
|||
|
|||
|
|||
class TestJS(HttpCase): |
|||
def test_js(self): |
|||
self.phantom_js( |
|||
"/web/tests?module=web_duplicate_visibility", |
|||
"", |
|||
login="admin", |
|||
) |
@ -0,0 +1,5 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com> |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
|
|||
from . import test_js |
@ -0,0 +1,14 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com> |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
|
|||
from openerp.tests import HttpCase |
|||
|
|||
|
|||
class TestJS(HttpCase): |
|||
def test_js(self): |
|||
self.phantom_js( |
|||
"/web/tests?module=web_readonly_bypass", |
|||
"", |
|||
login="admin", |
|||
) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue