Browse Source

[FIX] 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/20/head
Jairo Llopis 6 years ago
parent
commit
1eb21c6d29
No known key found for this signature in database GPG Key ID: 59564BF1E22F314F
  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