Skip to content

Commit

Permalink
fixup! Fix execution of tests post install
Browse files Browse the repository at this point in the history
  • Loading branch information
grindtildeath committed Nov 8, 2023
1 parent 2c715c7 commit d235b2f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stock_available_to_promise_release/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@


class PromiseReleaseCommonCase(common.SavepointCase):

at_install = False
post_install = True

@classmethod
def setUpClass(cls):
super().setUpClass()
Expand Down
4 changes: 4 additions & 0 deletions stock_available_to_promise_release/tests/test_reservation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@

@tagged("post_install", "-at_install")
class TestAvailableToPromiseRelease(PromiseReleaseCommonCase):

at_install = False
post_install = True

def test_horizon_date(self):
move = self.env["stock.move"].create(
{
Expand Down
4 changes: 4 additions & 0 deletions stock_available_to_promise_release/tests/test_unrelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

@tagged("post_install", "-at_install")
class TestAvailableToPromiseRelease(PromiseReleaseCommonCase):

at_install = False
post_install = True

@classmethod
def setUpClass(cls):
super().setUpClass()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

@tagged("post_install", "-at_install")
class TestAvailableToPromiseRelease(PromiseReleaseCommonCase):

at_install = False
post_install = True

@classmethod
def setUpClass(cls):
super().setUpClass()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

@tagged("post_install", "-at_install")
class TestAvailableToPromiseRelease3steps(PromiseReleaseCommonCase):

at_install = False
post_install = True

@classmethod
def setUpClass(cls):
super().setUpClass()
Expand Down

0 comments on commit d235b2f

Please sign in to comment.