mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG][10.0] web_readonly_bypass rewrite JS and tests
This commit is contained in:
1
web_readonly_bypass/tests/__init__.py
Normal file
1
web_readonly_bypass/tests/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import test_ui
|
||||
15
web_readonly_bypass/tests/test_ui.py
Normal file
15
web_readonly_bypass/tests/test_ui.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (c) 2017 Simone Orsi <simone.orsi@camptocamp.com>
|
||||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
||||
|
||||
from odoo.tests import HttpCase
|
||||
|
||||
|
||||
class TestUi(HttpCase):
|
||||
|
||||
def test_ui_web(self):
|
||||
self.phantom_js(
|
||||
"/web/tests?module=web_readonly_bypass",
|
||||
"",
|
||||
login="admin",
|
||||
)
|
||||
Reference in New Issue
Block a user