Browse Source
[FIX][web_duplicate_visibility] Run tests.
[FIX][web_duplicate_visibility] Run tests.
Tests were not run in bots. Includes some cosmetic fixes.pull/460/head
Jairo Llopis
8 years ago
5 changed files with 42 additions and 29 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
@ -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", |
|||
) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue