Skip to content

Commit

Permalink
Merge PR #811 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by simahawk
  • Loading branch information
OCA-git-bot committed Sep 12, 2023
2 parents d8227e0 + ebd6fe6 commit 9ebd14f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions edi_webservice_oca/tests/test_edi_webservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def _setup_records(cls):
"url": "http://localhost.demo.odoo/",
"content_type": "application/xml",
"tech_name": "demo_ws",
"auth_type": "none",
}
)
vals = {
Expand Down
4 changes: 2 additions & 2 deletions pdf_helper/tests/test_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from lxml import etree

from odoo.tests.common import TransactionCase, TreeCase
from odoo.tests.common import BaseCase, TransactionCase

from odoo.addons.pdf_helper.utils import PDFParser

Expand All @@ -18,7 +18,7 @@ def read_test_file(filename, mode="r"):

# NOTE: this class could use a bare `unittest.TestCase` as base
# but w/out TreeCase Odoo won't load these tests.
class TestPDFHelperUtils(TreeCase):
class TestPDFHelperUtils(BaseCase):
def test_parse_xml(self):
pdf_content = read_test_file("pdf_with_xml_test.pdf", mode="rb")
res = PDFParser(pdf_content).get_xml_files()
Expand Down

0 comments on commit 9ebd14f

Please sign in to comment.