diff --git a/tests/product/receipt/test_receipt_v4_regression.py b/tests/product/receipt/test_receipt_v4_regression.py deleted file mode 100644 index db0e043c..00000000 --- a/tests/product/receipt/test_receipt_v4_regression.py +++ /dev/null @@ -1,24 +0,0 @@ -import pytest - -from mindee.client import Client -from mindee.product import ReceiptV4 -from tests.product import PRODUCT_DATA_DIR, get_id, get_version - - -@pytest.mark.regression -def test_default_sample(): - client = Client() - with open( - PRODUCT_DATA_DIR / "expense_receipts" / "response_v4" / "default_sample.rst", - encoding="utf-8", - ) as rst_file: - rst_ref = rst_file.read() - - sample = client.source_from_path( - PRODUCT_DATA_DIR / "expense_receipts" / "default_sample.jpg" - ) - response = client.parse(ReceiptV4, sample) - doc_response = response.document - doc_response.id = get_id(rst_ref) - doc_response.inference.product.version = get_version(rst_ref) - assert str(doc_response) == rst_ref