From 132f91d500a7e3818e06da542d20f8b8642e45d2 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 12 Nov 2020 19:10:23 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=94=EF=B8=8F=20dinglehopper:=20Add=20miss?= =?UTF-8?q?ing=20integration=20test=20markers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qurator/dinglehopper/tests/test_integ_cli_valid_json.py | 2 ++ qurator/dinglehopper/tests/test_integ_ocrd_cli.py | 1 + 2 files changed, 3 insertions(+) diff --git a/qurator/dinglehopper/tests/test_integ_cli_valid_json.py b/qurator/dinglehopper/tests/test_integ_cli_valid_json.py index d251f9d..9d52329 100644 --- a/qurator/dinglehopper/tests/test_integ_cli_valid_json.py +++ b/qurator/dinglehopper/tests/test_integ_cli_valid_json.py @@ -6,6 +6,7 @@ from .util import working_directory from ..cli import process +@pytest.mark.integration def test_cli_json(tmp_path): """Test that the cli/process() yields a loadable JSON report""" @@ -25,6 +26,7 @@ def test_cli_json(tmp_path): assert j["cer"] == pytest.approx(0.2) +@pytest.mark.integration def test_cli_json_cer_is_infinity(tmp_path): """Test that the cli/process() yields a loadable JSON report when CER == inf""" diff --git a/qurator/dinglehopper/tests/test_integ_ocrd_cli.py b/qurator/dinglehopper/tests/test_integ_ocrd_cli.py index 54bd748..4ac5b55 100644 --- a/qurator/dinglehopper/tests/test_integ_ocrd_cli.py +++ b/qurator/dinglehopper/tests/test_integ_ocrd_cli.py @@ -14,6 +14,7 @@ from ..ocrd_cli import ocrd_dinglehopper data_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "data") +@pytest.mark.integration @pytest.mark.skipif(sys.platform == 'win32', reason="only on unix") def test_ocrd_cli(tmp_path): """Test OCR-D interface"""