Browse Source
Merge pull request #20 from Tecnativa/10-privacy_consent-test_at_install
[FIX] privacy_consent: Test at install
pull/25/head
Pedro M. Baeza
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
3 deletions
-
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() |
|
|