From d805a53ddfafc18c4cf5a480e2c45d299d948506 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Mon, 21 Jan 2019 12:24:23 +0000 Subject: [PATCH] privacy_consent: Test at install The purpose of this `@post_install` no longer exists, and by removing these decorators, we avoid test failures in case some custom addon customizes the welcome message. --- privacy_consent/tests/test_consent.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/privacy_consent/tests/test_consent.py b/privacy_consent/tests/test_consent.py index 7af0a90..6a68e4f 100644 --- a/privacy_consent/tests/test_consent.py +++ b/privacy_consent/tests/test_consent.py @@ -5,11 +5,9 @@ from contextlib import contextmanager from odoo.exceptions import ValidationError -from odoo.tests.common import at_install, post_install, HttpCase +from odoo.tests.common import HttpCase -@at_install(False) -@post_install(True) class ActivityCase(HttpCase): def setUp(self): super(ActivityCase, self).setUp()