diff --git a/edi_webservice_oca/tests/test_edi_webservice.py b/edi_webservice_oca/tests/test_edi_webservice.py index c0f6371b25..6621b362df 100644 --- a/edi_webservice_oca/tests/test_edi_webservice.py +++ b/edi_webservice_oca/tests/test_edi_webservice.py @@ -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 = { diff --git a/pdf_helper/tests/test_helper.py b/pdf_helper/tests/test_helper.py index d0711a0b34..9b956e2e3a 100644 --- a/pdf_helper/tests/test_helper.py +++ b/pdf_helper/tests/test_helper.py @@ -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 @@ -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()