|
|
@ -32,7 +32,7 @@ def test_ocrd_cli(tmp_path):
|
|
|
|
# Copy test workspace
|
|
|
|
# Copy test workspace
|
|
|
|
test_workspace_dir_source = Path(data_dir) / 'actevedef_718448162'
|
|
|
|
test_workspace_dir_source = Path(data_dir) / 'actevedef_718448162'
|
|
|
|
test_workspace_dir = tmp_path / 'test_ocrd_cli'
|
|
|
|
test_workspace_dir = tmp_path / 'test_ocrd_cli'
|
|
|
|
shutil.copytree(test_workspace_dir_source, test_workspace_dir)
|
|
|
|
shutil.copytree(str(test_workspace_dir_source), str(test_workspace_dir)) # str() is necessary for Python 3.5's shutil.copytree()
|
|
|
|
|
|
|
|
|
|
|
|
# Run through the OCR-D interface
|
|
|
|
# Run through the OCR-D interface
|
|
|
|
with working_directory(test_workspace_dir):
|
|
|
|
with working_directory(test_workspace_dir):
|
|
|
|