From 6a8a92071662fe772e07e461ebc5e81a498ea3dc Mon Sep 17 00:00:00 2001 From: hamshkhawar Date: Tue, 2 Apr 2024 12:16:17 -0500 Subject: [PATCH] fix slow test --- formats/image-dimension-stacking-tool/tests/test_cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/formats/image-dimension-stacking-tool/tests/test_cli.py b/formats/image-dimension-stacking-tool/tests/test_cli.py index 8d4972777..81a32d325 100644 --- a/formats/image-dimension-stacking-tool/tests/test_cli.py +++ b/formats/image-dimension-stacking-tool/tests/test_cli.py @@ -3,6 +3,7 @@ from polus.images.formats.image_dimension_stacking.__main__ import app from pathlib import Path from typing import Union +import pytest def test_cli(synthetic_images: tuple[Union[str, Path]], output_directory: Path) -> None: @@ -25,6 +26,7 @@ def test_cli(synthetic_images: tuple[Union[str, Path]], output_directory: Path) assert result.exit_code == 0 +@pytest.mark.skipif("not config.getoption('slow')") def test_multipattern_cli( synthetic_multi_images: Union[str, Path], output_directory: Path ) -> None: