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/44/head
Jairo Llopis 6 years ago
committed by Mustufa Kantawala
parent
commit
94714ad1b8
  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