Skip to content

Commit

Permalink
[IMP] account_edi_simple_pdf: increase test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Dec 4, 2024
1 parent 772657b commit 3634c24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions account_edi_simple_pdf/tests/test_invoice_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,5 +553,10 @@ def test_test_run(self):
Test the test run code on the partner form
"""
self.partner_ak.simple_pdf_test_file = self.ak_pdf_file_b64
self.partner_ak.simple_pdf_product_id = self.env["product.product"].search(
[
("purchase_ok", "=", True),
]
)
self.partner_ak.pdf_simple_test_run()
self.assertIn("Current partner found", self.partner_ak.simple_pdf_test_results)

0 comments on commit 3634c24

Please sign in to comment.