Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] contract unittest test_contract.py #876

Merged
merged 1 commit into from
Sep 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion contract/tests/test_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from odoo import fields
from odoo.exceptions import UserError, ValidationError
from odoo.tests import Form, common
from odoo.tests import Form, common, tagged


def to_date(date):
Expand Down Expand Up @@ -191,6 +191,7 @@ def _create_uom(cls):
return cls.uom_obj.create(vals)


@tagged("post_install", "-at_install")
class TestContract(TestContractBase):
def _add_template_line(self, overrides=None):
if overrides is None:
Expand Down
2 changes: 2 additions & 0 deletions contract/tests/test_contract_manually_create_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@


from odoo.exceptions import UserError
from odoo.tests import tagged

from .test_contract import TestContractBase


@tagged("post_install", "-at_install")
class TestContractManuallyCreateInvoice(TestContractBase):
@classmethod
def setUpClass(cls):
Expand Down
3 changes: 3 additions & 0 deletions contract/tests/test_multicompany.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# Copyright 2021 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo.tests import tagged

from .test_contract import TestContractBase


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