Skip to content

Commit

Permalink
[FIX] l10n_it_fatturapa_out: fix test tags
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMule71 committed Apr 15, 2022
1 parent 7ec14ad commit dabbabd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion l10n_it_fatturapa_out/tests/test_fatturapa_out_noteline.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
from lxml import etree

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

from .fatturapa_common import FatturaPACommon


@tagged("post_install", "-at_install")
class TestFatturaOutNoteLine(FatturaPACommon):
def setUp(self):
super().setUp()
Expand Down
4 changes: 3 additions & 1 deletion l10n_it_fatturapa_out/tests/test_fatturapa_xml_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@

from odoo import fields
from odoo.exceptions import UserError
from odoo.tests import Form
from odoo.tests import Form, tagged
from odoo.tools import mute_logger

from .fatturapa_common import FatturaPACommon


@tagged("post_install", "-at_install")
class TestDuplicatedAttachment(FatturaPACommon):
def test_duplicated_attachment(self):
"""Attachment name must be unique"""
Expand All @@ -35,6 +36,7 @@ def test_duplicated_attachment(self):
self.assertEqual(ie.exception.pgcode, "23505")


@tagged("post_install", "-at_install")
class TestFatturaPAXMLValidation(FatturaPACommon):
def setUp(self):
super(TestFatturaPAXMLValidation, self).setUp()
Expand Down

0 comments on commit dabbabd

Please sign in to comment.