From b3097a2384e2c2923a2100680144f2f5a4678d23 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Thu, 24 Aug 2017 13:01:02 -0700 Subject: [PATCH] Fix broken test case related to language packs --- docs/release_notes.rst | 6 ++++++ tests/test_main.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/release_notes.rst b/docs/release_notes.rst index f93396ea..47166807 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -6,6 +6,12 @@ OCRmyPDF uses `semantic versioning `_ 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 ------ diff --git a/tests/test_main.py b/tests/test_main.py index ec255b48..396559ee 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -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):