From 19689ffc7f03f7c9ae86f4ff3f80ad8c601f7f2b Mon Sep 17 00:00:00 2001 From: rue_a Date: Fri, 26 Apr 2024 11:09:39 +0200 Subject: [PATCH] fix test filename --- tests/test_workspace.py | 3 ++- .../{nd1969-01-21_03.xml => nd1969-01-21_3.xml} | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) rename tests/workspace/reference_page_xml/{nd1969-01-21_03.xml => nd1969-01-21_3.xml} (99%) diff --git a/tests/test_workspace.py b/tests/test_workspace.py index 747fd32..f3f3898 100644 --- a/tests/test_workspace.py +++ b/tests/test_workspace.py @@ -20,12 +20,13 @@ def setUp(self): { "aws": Path("textract_responses") / f"{filename.name.split('.', 1)[0]}.json", - "img": Path("images") / filename, + "img": Path("images") / filename.name, "xml": Path("reference_page_xml") / f"{filename.name.split('.', 1)[0]}.xml", } for filename in (workspace / "images").iterdir() ] + print(self.test_path_dict) def test_api(self): for path in self.test_path_dict: diff --git a/tests/workspace/reference_page_xml/nd1969-01-21_03.xml b/tests/workspace/reference_page_xml/nd1969-01-21_3.xml similarity index 99% rename from tests/workspace/reference_page_xml/nd1969-01-21_03.xml rename to tests/workspace/reference_page_xml/nd1969-01-21_3.xml index ff9e0ac..1c7cc19 100644 --- a/tests/workspace/reference_page_xml/nd1969-01-21_03.xml +++ b/tests/workspace/reference_page_xml/nd1969-01-21_3.xml @@ -1,9 +1,9 @@ - OCR-D/core 2.63.3 - 2024-04-24T11:38:10.850596 - 2024-04-24T11:38:10.850596 + OCR-D/core 2.64.1 + 2024-04-26T11:08:53.328131 + 2024-04-26T11:08:53.328131