diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 443da05b..4ea2d474 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -53,7 +53,7 @@ jobs: - name: Test Super Flat Creation run: | - kubectl exec banzai-e2e-test -c banzai-listener -- pytest-s --pyargs banzai --durations=0 --junitxml=/archive/engineering/pytest-master-flat.xml -m master_flat + kubectl exec banzai-e2e-test -c banzai-listener -- pytest -s --pyargs banzai --durations=0 --junitxml=/archive/engineering/pytest-master-flat.xml -m master_flat - name: Test Science Frame Creation run: | diff --git a/banzai/tests/utils.py b/banzai/tests/utils.py index afd3aa61..2a48aa95 100644 --- a/banzai/tests/utils.py +++ b/banzai/tests/utils.py @@ -69,7 +69,10 @@ def __init__(self, hdu_list=None, file_path='/tmp/test_image.fits', instrument=N self._file_path = file_path self.is_bad = False self.hdu_order = ['SCI', 'CAT', 'BPM', 'ERR'] - self.n_sub_exposures = 1 + + @property + def n_sub_exposures(self): + return 1 for keyword in kwargs: setattr(self, keyword, kwargs[keyword])