When the QWeb `<template>` loading test was introduced at [1], the `test_website` module did not exist yet, see [2]. This commit moves that test and its related data file to `test_website` to remove the `fake data` noise from the `website` module. That's one of the two purpose of this `test_website` module: - Avoid noising the website module with test only data & code - Encapsulate in a lighter module the module operations tests, but it's not really the case anymore as those tests are now standalone tests. See manifest for more details. [1]: https://github.com/odoo/odoo/commit/9cd982bcc811cacb42f5c08db139043d2734b891 [2]: https://github.com/odoo/odoo/commit/ef03db9edd9472201cb2c08a32d20ff0f33a5fdf closes odoo/odoo#109349 Signed-off-by: Romain Derie (rde) <rde@odoo.com>
48 lines
1.6 KiB
Python
48 lines
1.6 KiB
Python
# -*- encoding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'Website Test',
|
|
'version': '1.0',
|
|
'category': 'Hidden',
|
|
'sequence': 9876,
|
|
'summary': 'Website Test, mainly for module install/uninstall tests',
|
|
'description': """This module contains tests related to website. Those are
|
|
present in a separate module as we are testing module install/uninstall/upgrade
|
|
and we don't want to reload the website module every time, including it's possible
|
|
dependencies. Neither we want to add in website module some routes, views and
|
|
models which only purpose is to run tests.""",
|
|
'depends': [
|
|
'web_unsplash',
|
|
'website',
|
|
'theme_default',
|
|
],
|
|
'data': [
|
|
'views/templates.xml',
|
|
'data/test_website_data.xml',
|
|
'security/ir.model.access.csv',
|
|
],
|
|
'installable': True,
|
|
'assets': {
|
|
'test_website.test_bundle': [
|
|
'/web/static/lib/qweb/qweb2.js',
|
|
'http://test.external.link/javascript1.js',
|
|
'/web/static/lib/jquery.ui/jquery-ui.css',
|
|
'http://test.external.link/style1.css',
|
|
'/web/static/src/boot.js',
|
|
'http://test.external.link/javascript2.js',
|
|
'http://test.external.link/style2.css',
|
|
],
|
|
'web.assets_frontend': [
|
|
'test_website/static/src/js/test_error.js',
|
|
],
|
|
'web.assets_tests': [
|
|
'test_website/static/tests/tours/*',
|
|
],
|
|
'web.qunit_suite_tests': [
|
|
'test_website/static/tests/*.js',
|
|
],
|
|
},
|
|
'license': 'LGPL-3',
|
|
}
|