Loading tests/integration/autoreduction/test_autoreduction_ready.py +1 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ from unittest.mock import MagicMock @pytest.mark.datarepo @mock.patch("reduce_CG1D._find_template_config") @pytest.mark.skip(reason="To be fixed in branch `happy_path`") def test_auto_reduction_ready(mock__find_template_config: MagicMock, caplog, IRON_MAN_DIR: Path, tmp_path: Path): # Force _find_template_config() to throw error in order to stop execution of main_CG1D() # right after auto_reduction_ready() is called Loading tests/unit/backend/test_cli.py +1 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ def test_good(JSON_DIR): @pytest.mark.datarepo @pytest.mark.skip(reason="To be fixed in branch `happy_path`") def test_outputdir_not_writable(): assert main_CG1D(TIFF_RANDOM, "this/dir/doesnt/exist") == 1 Loading Loading
tests/integration/autoreduction/test_autoreduction_ready.py +1 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ from unittest.mock import MagicMock @pytest.mark.datarepo @mock.patch("reduce_CG1D._find_template_config") @pytest.mark.skip(reason="To be fixed in branch `happy_path`") def test_auto_reduction_ready(mock__find_template_config: MagicMock, caplog, IRON_MAN_DIR: Path, tmp_path: Path): # Force _find_template_config() to throw error in order to stop execution of main_CG1D() # right after auto_reduction_ready() is called Loading
tests/unit/backend/test_cli.py +1 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ def test_good(JSON_DIR): @pytest.mark.datarepo @pytest.mark.skip(reason="To be fixed in branch `happy_path`") def test_outputdir_not_writable(): assert main_CG1D(TIFF_RANDOM, "this/dir/doesnt/exist") == 1 Loading