Skip to content

Commit

Permalink
Fix execution of tests post install
Browse files Browse the repository at this point in the history
  • Loading branch information
grindtildeath committed Oct 24, 2023
1 parent 86e3772 commit 4770aee
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
2 changes: 0 additions & 2 deletions stock_available_to_promise_release/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).

from odoo import fields
from odoo.tests import common, tagged


@tagged("post_install", "-at_install")
class PromiseReleaseCommonCase(common.SavepointCase):
@classmethod
def setUpClass(cls):
Expand Down
2 changes: 2 additions & 0 deletions stock_available_to_promise_release/tests/test_reservation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
from freezegun import freeze_time

from .common import PromiseReleaseCommonCase
from odoo.tests import common, tagged


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

from .common import PromiseReleaseCommonCase

from odoo.tests import common, tagged


@tagged("post_install", "-at_install")
class TestAvailableToPromiseRelease(PromiseReleaseCommonCase):
@classmethod
def setUpClass(cls):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@

from .common import PromiseReleaseCommonCase

from odoo.tests import common, tagged


@tagged("post_install", "-at_install")
class TestAvailableToPromiseRelease(PromiseReleaseCommonCase):
@classmethod
def setUpClass(cls):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
from datetime import datetime

from .common import PromiseReleaseCommonCase
from odoo.tests import common, tagged


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

0 comments on commit 4770aee

Please sign in to comment.