Skip to content

Commit 4770aee

Browse files
committed
Fix execution of tests post install
1 parent 86e3772 commit 4770aee

File tree

5 files changed

+10
-2
lines changed

5 files changed

+10
-2
lines changed

Diff for: stock_available_to_promise_release/tests/common.py

-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
33

44
from odoo import fields
5-
from odoo.tests import common, tagged
65

76

8-
@tagged("post_install", "-at_install")
97
class PromiseReleaseCommonCase(common.SavepointCase):
108
@classmethod
119
def setUpClass(cls):

Diff for: stock_available_to_promise_release/tests/test_reservation.py

+2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
from freezegun import freeze_time
88

99
from .common import PromiseReleaseCommonCase
10+
from odoo.tests import common, tagged
1011

1112

13+
@tagged("post_install", "-at_install")
1214
class TestAvailableToPromiseRelease(PromiseReleaseCommonCase):
1315
def test_horizon_date(self):
1416
move = self.env["stock.move"].create(

Diff for: stock_available_to_promise_release/tests/test_unrelease.py

+3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88

99
from .common import PromiseReleaseCommonCase
1010

11+
from odoo.tests import common, tagged
1112

13+
14+
@tagged("post_install", "-at_install")
1215
class TestAvailableToPromiseRelease(PromiseReleaseCommonCase):
1316
@classmethod
1417
def setUpClass(cls):

Diff for: stock_available_to_promise_release/tests/test_unrelease_2steps.py

+3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55

66
from .common import PromiseReleaseCommonCase
77

8+
from odoo.tests import common, tagged
89

10+
11+
@tagged("post_install", "-at_install")
912
class TestAvailableToPromiseRelease(PromiseReleaseCommonCase):
1013
@classmethod
1114
def setUpClass(cls):

Diff for: stock_available_to_promise_release/tests/test_unrelease_3steps.py

+2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
from datetime import datetime
55

66
from .common import PromiseReleaseCommonCase
7+
from odoo.tests import common, tagged
78

89

10+
@tagged("post_install", "-at_install")
911
class TestAvailableToPromiseRelease3steps(PromiseReleaseCommonCase):
1012
@classmethod
1113
def setUpClass(cls):

0 commit comments

Comments
 (0)