Skip to content

Commit

Permalink
Delay test after install stock_available_to_promise_release
Browse files Browse the repository at this point in the history
  • Loading branch information
TDu committed Jul 6, 2023
1 parent 2851fbd commit 2f3313e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stock_available_to_promise_release/tests/test_reservation.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
from dateutil.relativedelta import relativedelta
from freezegun import freeze_time

from odoo.tests import common

from .common import PromiseReleaseCommonCase


@common.tagged("-at_install", "post_install")
class TestAvailableToPromiseRelease(PromiseReleaseCommonCase):
def test_horizon_date(self):
move = self.env["stock.move"].create(
Expand Down
2 changes: 2 additions & 0 deletions stock_available_to_promise_release/tests/test_unrelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
from datetime import datetime

from odoo.exceptions import UserError
from odoo.tests import common

from .common import PromiseReleaseCommonCase


@common.tagged("-at_install", "post_install")
class TestAvailableToPromiseRelease(PromiseReleaseCommonCase):
@classmethod
def setUpClass(cls):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@

from datetime import datetime

from odoo.tests import common

from .common import PromiseReleaseCommonCase


@common.tagged("-at_install", "post_install")
class TestAvailableToPromiseRelease(PromiseReleaseCommonCase):
@classmethod
def setUpClass(cls):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@

from datetime import datetime

from odoo.tests import common

from .common import PromiseReleaseCommonCase


@common.tagged("-at_install", "post_install")
class TestAvailableToPromiseRelease3steps(PromiseReleaseCommonCase):
@classmethod
def setUpClass(cls):
Expand Down

0 comments on commit 2f3313e

Please sign in to comment.