Browse Source

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.
pull/50/head
Jairo Llopis 6 years ago
committed by Jairo Llopis
parent
commit
ac3c9fe08c
No known key found for this signature in database GPG Key ID: 8B8A6900E4831A9B
  1. 4
      privacy_consent/tests/test_consent.py

4
privacy_consent/tests/test_consent.py

@ -5,11 +5,9 @@
from contextlib import contextmanager from contextlib import contextmanager
from odoo.exceptions import ValidationError 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): class ActivityCase(HttpCase):
def setUp(self): def setUp(self):
super(ActivityCase, self).setUp() super(ActivityCase, self).setUp()

Loading…
Cancel
Save