Refactor lossless reconstruction setter into separate function

Still messy but good enough as a start.
This commit is contained in:
James R. Barlow
2023-10-24 00:52:31 -07:00
parent 07b89e6a19
commit 95b14ee282
2 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -71,7 +71,9 @@ def test_tesseract_not_installed(caplog):
def test_lossless_redo():
with pytest.raises(BadArgsError):
vd.check_options_output(make_opts(redo_ocr=True, deskew=True))
options = make_opts(redo_ocr=True, deskew=True)
vd.check_options_output(options)
vd.set_lossless_reconstruction(options)
def test_mutex_options():