✔️ dinglehopper: Add missing integration test markers

pull/49/head
Gerber, Mike 4 years ago
parent c48d7646df
commit 132f91d500

@ -6,6 +6,7 @@ from .util import working_directory
from ..cli import process from ..cli import process
@pytest.mark.integration
def test_cli_json(tmp_path): def test_cli_json(tmp_path):
"""Test that the cli/process() yields a loadable JSON report""" """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) assert j["cer"] == pytest.approx(0.2)
@pytest.mark.integration
def test_cli_json_cer_is_infinity(tmp_path): def test_cli_json_cer_is_infinity(tmp_path):
"""Test that the cli/process() yields a loadable JSON report when CER == inf""" """Test that the cli/process() yields a loadable JSON report when CER == inf"""

@ -14,6 +14,7 @@ from ..ocrd_cli import ocrd_dinglehopper
data_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "data") 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") @pytest.mark.skipif(sys.platform == 'win32', reason="only on unix")
def test_ocrd_cli(tmp_path): def test_ocrd_cli(tmp_path):
"""Test OCR-D interface""" """Test OCR-D interface"""

Loading…
Cancel
Save