[IMP] tests: adapt enterprise tests to the tests tags system
As the possibility to test tags was introduced, some tests must me adapated to work as before. Tests that have to run at 'post_install' have to be tagged '-at_install' and 'post_install'. Also, nightly tests that contact external entities have to be tagged '-standard' to avoid to be launched by default. Also they have to be tagged 'external' so that they can be selected alone.
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
import odoo.tests
|
||||
|
||||
|
||||
@odoo.tests.common.at_install(False)
|
||||
@odoo.tests.common.post_install(True)
|
||||
@odoo.tests.tagged('post_install','-at_install')
|
||||
class TestWebsiteFormEditor(odoo.tests.HttpCase):
|
||||
def test_tour(self):
|
||||
self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('website_form_editor_tour')", "odoo.__DEBUG__.services['web_tour.tour'].tours.website_form_editor_tour.ready", login="admin")
|
||||
|
||||
Reference in New Issue
Block a user