Compare commits

..
1 Commits
Author SHA1 Message Date
James R. Barlow b3097a2384 Fix broken test case related to language packs 2017-08-24 13:01:02 -07:00
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -6,6 +6,12 @@ OCRmyPDF uses `semantic versioning <http://semver.org/>`_ for its command line i
The OCRmyPDF package itself does not contain a public API, although it is fairly stable and breaking changes are usually timed with a major release. A future release will clearly define the stable public API.
v5.3.2
------
- Fixed a broken test case related to language packs
v5.3.1
------
+1 -1
View File
@@ -416,7 +416,7 @@ def test_french(spoof_tesseract_cache, resources, outpdf):
def test_klingon(resources, outpdf):
p, out, err = run_ocrmypdf(
resources / 'francais.pdf', outpdf, '-l', 'klz')
assert p.returncode == ExitCode.bad_args
assert p.returncode == ExitCode.missing_dependency
def test_missing_docinfo(spoof_tesseract_noop, resources, outpdf):