diff --git a/date_range/tests/test_date_range.py b/date_range/tests/test_date_range.py index 398d663..87e86b6 100644 --- a/date_range/tests/test_date_range.py +++ b/date_range/tests/test_date_range.py @@ -3,13 +3,13 @@ import datetime +import odoo from odoo.exceptions import ValidationError from odoo.tests.common import TransactionCase +@odoo.tests.tagged('post_install', '-at_install') class DateRangeTest(TransactionCase): - post_install = True - at_install = False def setUp(self): super(DateRangeTest, self).setUp() diff --git a/date_range/tests/test_date_range_generator.py b/date_range/tests/test_date_range_generator.py index 9bbe929..5f44cb2 100644 --- a/date_range/tests/test_date_range_generator.py +++ b/date_range/tests/test_date_range_generator.py @@ -5,13 +5,13 @@ import datetime from dateutil.rrule import MONTHLY +import odoo from odoo.exceptions import ValidationError from odoo.tests.common import TransactionCase +@odoo.tests.tagged('post_install', '-at_install') class DateRangeGeneratorTest(TransactionCase): - post_install = True - at_install = False def setUp(self): super(DateRangeGeneratorTest, self).setUp() diff --git a/date_range/tests/test_date_range_type.py b/date_range/tests/test_date_range_type.py index 51519ff..e00c899 100644 --- a/date_range/tests/test_date_range_type.py +++ b/date_range/tests/test_date_range_type.py @@ -3,14 +3,14 @@ from psycopg2 import IntegrityError +import odoo from odoo.exceptions import ValidationError from odoo.tests.common import TransactionCase from odoo.tools import mute_logger +@odoo.tests.tagged('post_install', '-at_install') class DateRangeTypeTest(TransactionCase): - post_install = True - at_install = False def setUp(self): super(DateRangeTypeTest, self).setUp()