We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41b0045 commit 340f513Copy full SHA for 340f513
tests/test_recognize.py
@@ -20,13 +20,13 @@ def test_recognize(self):
20
with pushd_popd(tempdir=True) as tempdir:
21
workspace = resolver.workspace_from_url(assets.path_to('communist_manifesto/data/mets.xml'), dst_dir=tempdir, download=True)
22
workspace.overwrite_mode = True
23
- proc = KrakenRecognize(
24
- workspace,
25
- input_file_grp="OCR-D-SEG-KRAKEN",
26
- output_file_grp="OCR-D-OCR-KRAKEN",
+ run_processor(KrakenRecognize,
+ workspace=workspace,
+ input_file_grp="OCR-D-SEG-KRAKEN",
+ output_file_grp="OCR-D-OCR-KRAKEN",
27
)
28
- proc.process()
29
workspace.save_mets()
+ # FIXME: add result assertions (find_files, parsing PAGE etc)
30
31
if __name__ == "__main__":
32
main(__file__)
0 commit comments