[MIG][10.0] web_readonly_bypass rewrite JS and tests

This commit is contained in:
Simone Orsi
2017-10-10 16:26:40 +02:00
parent 112290d9b1
commit 32aad6b60c
7 changed files with 199 additions and 182 deletions

View File

@@ -0,0 +1 @@
from . import test_ui

View 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",
)