Skip to content

Commit

Permalink
remove CRDS PUB server from test (#7368)
Browse files Browse the repository at this point in the history
* remove CRDS PUB server from test

* fix error from flake8-ignore
  • Loading branch information
nden authored Nov 28, 2022
1 parent c66627f commit fa17e4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion jwst/datamodels/tests/test_schema_against_crds.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def flatten(xs):
@pytest.mark.parametrize('instrument', ['fgs', 'miri', 'nircam', 'niriss', 'nirspec'])
def test_crds_selectors_vs_datamodel(jail_environ, instrument):

os.environ["CRDS_SERVER_URL"] = 'https://jwst-crds-pub.stsci.edu'
os.environ["CRDS_SERVER_URL"] = 'https://jwst-crds.stsci.edu'

log.info(f"CRDS_PATH: {os.environ['CRDS_PATH']}")

Expand Down
10 changes: 5 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ per-file-ignores =
jwst/ramp_fitting/tests/compare_cr_files.py:E
jwst/ramp_fitting/tests/create_cube.py:E
jwst/ramp_fitting/tests/mc_3d.py:E
ignore =
E231, # Missing whitespace after ',', ';', or ':'
E241, # Multiple spaces after ','
W503, # Line break occurred before a binary operator
W504, # Line break occurred after a binary operator
ignore = E231,E241,W503,W504
# E231, # Missing whitespace after ',', ';', or ':'
# E241, # Multiple spaces after ','
# W503, # Line break occurred before a binary operator
# W504, # Line break occurred after a binary operator

[tool:pytest]
minversion = 6.0
Expand Down

0 comments on commit fa17e4c

Please sign in to comment.