From f3f969a43b223109c00fbd42cbb0358a6d5babd5 Mon Sep 17 00:00:00 2001 From: Tomas Stolker Date: Fri, 12 Jan 2024 13:19:57 +0100 Subject: [PATCH] Minor update tests --- Makefile | 2 +- tests/test_pipeline.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d517538..ac2f8f0 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ coverage: coverage report -m test: - pytest --cov=pycrires/ --cov-report=xml + pytest -s --cov=pycrires/ --cov-report=xml clean: find . -name '*.pyc' -exec rm -f {} + diff --git a/tests/test_pipeline.py b/tests/test_pipeline.py index 6444636..4acc029 100644 --- a/tests/test_pipeline.py +++ b/tests/test_pipeline.py @@ -253,9 +253,6 @@ def test_obs_nodding(self) -> None: if shutil.which("esorex") is None: with pytest.raises(RuntimeError) as error: self.pipeline.obs_nodding(verbose=False, correct_bad_pixels=True, extraction_required=True) - print(str(error.value)) - - # assert str(error.value) == "Cannot run obs_nodding: there are no SCIENCE frames" else: self.pipeline.obs_nodding(verbose=False, correct_bad_pixels=True, extraction_required=True)