Skip to content

Commit

Permalink
update options file version for testing (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaS11 authored Oct 31, 2022
1 parent 4015a3d commit 66201bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions doc/source/user_guide/changelog/v0.6.4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Maintenance
- add provider flag to CMR request (needed with new cloud availability) (#380)
- update traffic data and scripts (#363, #369, #383)
- enable support for Python 3.10 and 3.11 (#372)
- update json file with subsetting options to v005 of ATL06 (#387)


Documentation
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions icepyx/tests/test_behind_NSIDC_API_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@pytest.fixture(scope="module")
def reg():
live_reg = ipx.Query(
"ATL06", [-55, 68, -48, 71], ["2019-02-22", "2019-02-28"], version="004"
"ATL06", [-55, 68, -48, 71], ["2019-02-22", "2019-02-28"], version="005"
)
yield live_reg
del live_reg
Expand All @@ -39,8 +39,8 @@ def session(reg):


def test_get_custom_options_output(session):
obs = is2ref._get_custom_options(session, "ATL06", "004")
with open("ATL06v04_options.json") as exp_json:
obs = is2ref._get_custom_options(session, "ATL06", "005")
with open("./icepyx/tests/ATL06v05_options.json") as exp_json:
exp = json.load(exp_json)
assert all(keys in obs.keys() for keys in exp.keys())
assert all(obs[key] == exp[key] for key in exp.keys())
Expand Down

0 comments on commit 66201bd

Please sign in to comment.