Skip to content

Commit

Permalink
RCAL-490 (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson authored and mairanteodoro committed Apr 18, 2023
1 parent 6d92ea5 commit c0c25dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ general

- Remove the ``codecov`` dependency [#677]

- Remove explicit dependence on ``stdatamodels``. [#676]

source_detection
----------------
- Added SourceDetection Step to pipeline [#608]
Expand Down
29 changes: 0 additions & 29 deletions romancal/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,6 @@
import tempfile

import pytest
from stdatamodels import s3_utils

# from jwst.associations import (AssociationRegistry, AssociationPool)
# from jwst.associations.tests.helpers import t_path
from romancal.lib.tests import helpers as lib_helpers

# @pytest.fixture(scope='session')
# def full_pool_rules(request):
# """Setup to use the full example pool and registry"""
# pool_fname = t_path('data/mega_pool.csv')
# pool = AssociationPool.read(pool_fname)
# rules = AssociationRegistry()
#
# return (pool, rules, pool_fname)


@pytest.fixture
Expand All @@ -35,21 +21,6 @@ def mk_tmp_dirs():
os.chdir(old_path)


@pytest.fixture(autouse=True)
def monkey_patch_s3_client(monkeypatch, request):
# If tmpdir is used in the test, then it is providing the file. Map to it.
if "s3_root_dir" in request.fixturenames:
path = request.getfixturevalue("s3_root_dir")
else:
path = None
monkeypatch.setattr(s3_utils, "_CLIENT", lib_helpers.MockS3Client(path))


@pytest.fixture
def s3_root_dir(tmpdir):
return tmpdir


@pytest.fixture
def slow(request):
"""Setup slow fixture for tests to identify if --slow
Expand Down

0 comments on commit c0c25dd

Please sign in to comment.