Change most tests to use ocrmypdf API instead of subprocess

The main benefit of this is code coverage gains can actually follow it.
Also removes most ugly os.environ hacks.
This commit is contained in:
James R. Barlow
2019-06-03 01:45:27 -07:00
parent 98a3fda1f5
commit eb5200d26a
18 changed files with 131 additions and 40 deletions
+1
View File
@@ -482,3 +482,4 @@ debugging.add_argument(
action='store_true',
help="Keep temporary files (helpful for debugging)",
)
debugging.add_argument('--tesseract-env', type=str, help=argparse.SUPPRESS)