Update test to match new error messag
This commit is contained in:
@@ -22,7 +22,8 @@ def acroform(resources):
|
||||
|
||||
def test_acroform_and_redo(acroform, no_outpdf):
|
||||
with pytest.raises(
|
||||
ocrmypdf.exceptions.InputFileError, match='--redo-ocr is not currently possible'
|
||||
ocrmypdf.exceptions.InputFileError,
|
||||
match='--redo-ocr (or --mode redo) is not currently possible',
|
||||
):
|
||||
check_ocrmypdf(acroform, no_outpdf, '--redo-ocr')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user