diff --git a/.gitignore b/.gitignore
index 62e9445..766efdf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,4 +6,5 @@ dist
*~
.vscode
ocrd.log
-ocr_test
\ No newline at end of file
+tests/workspace/OCR-D-IMG
+tests/workspace/OCR-D-SEG-PAGE
\ No newline at end of file
diff --git a/tests/test_workspace.py b/tests/test_workspace.py
index 5ce5601..72bbac0 100644
--- a/tests/test_workspace.py
+++ b/tests/test_workspace.py
@@ -21,12 +21,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/images/nd1969-01-21_3.jpg b/tests/workspace/images/nd1969-01-21_3.jpg
new file mode 100644
index 0000000..16c260e
Binary files /dev/null and b/tests/workspace/images/nd1969-01-21_3.jpg differ
diff --git a/tests/workspace/images/nowa_doba.jpg b/tests/workspace/images/nowa_doba.jpg
new file mode 100644
index 0000000..0244c5a
Binary files /dev/null and b/tests/workspace/images/nowa_doba.jpg differ
diff --git a/tests/workspace/mets.xml b/tests/workspace/mets.xml
index c715abc..742821a 100644
--- a/tests/workspace/mets.xml
+++ b/tests/workspace/mets.xml
@@ -1,8 +1,8 @@
-
+
- ocrd/core v2.51.0
+ ocrd/core v2.63.3
@@ -18,30 +18,42 @@
-
+
-
+
-
+
-
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
@@ -63,6 +75,16 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/workspace/reference_page_xml/18xx-Missio-EMU-0042.xml b/tests/workspace/reference_page_xml/18xx-Missio-EMU-0042.xml
index f74dcf4..771cf43 100644
--- a/tests/workspace/reference_page_xml/18xx-Missio-EMU-0042.xml
+++ b/tests/workspace/reference_page_xml/18xx-Missio-EMU-0042.xml
@@ -1,61 +1,62 @@
-
+
- OCR-D/core 2.52.0
- 2024-01-12T16:29:03.744483
- 2024-01-12T16:29:03.744483
+ OCR-D/core 2.63.3
+ 2024-04-24T11:37:59.880024
+ 2024-04-24T11:37:59.880024
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+