Skip to content

Commit

Permalink
fix test filename
Browse files Browse the repository at this point in the history
  • Loading branch information
rue-a committed Apr 26, 2024
1 parent a267e02 commit 19689ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/test_workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<pc:PcGts xmlns:pc="http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15 http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15/pagecontent.xsd">
<pc:Metadata>
<pc:Creator>OCR-D/core 2.63.3</pc:Creator>
<pc:Created>2024-04-24T11:38:10.850596</pc:Created>
<pc:LastChange>2024-04-24T11:38:10.850596</pc:LastChange>
<pc:Creator>OCR-D/core 2.64.1</pc:Creator>
<pc:Created>2024-04-26T11:08:53.328131</pc:Created>
<pc:LastChange>2024-04-26T11:08:53.328131</pc:LastChange>
</pc:Metadata>
<pc:Page imageFilename="images/nd1969-01-21_3.jpg" imageWidth="3297" imageHeight="4647">
<pc:ReadingOrder>
Expand Down

0 comments on commit 19689ff

Please sign in to comment.