diff options
| author | fja-odoo <fja@odoo.com> | 2019-06-11 12:26:53 +0000 |
|---|---|---|
| committer | fja-odoo <fja@odoo.com> | 2019-06-28 08:53:52 +0000 |
| commit | 90818fd083774988c331d741d34181a5af5ecd3a (patch) | |
| tree | e67fcc581e0952d80a90185a0926b1ec0601bfc0 /addons/test_website/tests/test_error.py | |
| parent | 83c1d56d2f3d22672803118f33c2f702721df1e5 (diff) | |
[IMP] test_website: add test tour for the website errors
The purpose of these tests is to verify that errors informations
are displayed correctly on the website.
Part of https://github.com/odoo/odoo/pull/32132
task-1894820
Diffstat (limited to 'addons/test_website/tests/test_error.py')
| -rw-r--r-- | addons/test_website/tests/test_error.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/test_website/tests/test_error.py b/addons/test_website/tests/test_error.py new file mode 100644 index 00000000000..63dad4133f1 --- /dev/null +++ b/addons/test_website/tests/test_error.py @@ -0,0 +1,10 @@ +import odoo.tests +from odoo.tools import mute_logger + + +@odoo.tests.common.tagged('post_install', '-at_install') +class TestWebsiteError(odoo.tests.HttpCase): + + @mute_logger('odoo.addons.website.models.ir_http', 'odoo.http') + def test_01_run_test(self): + self.start_tour("/test_error_view", 'test_error_website') |
