Skip to content

Commit

Permalink
update env var names from thos orig used in earthaccess [nsidc_tests]
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaS11 committed Dec 18, 2023
1 parent 6122fd6 commit 9756c50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:

- stage: behind Earthdata
script:
- export NSIDC_LOGIN=$NSIDC_LOGIN
- export EARTHDATA_PASSWORD=$NSIDC_LOGIN
- pytest icepyx/tests/test_behind_NSIDC_API_login.py
1 change: 1 addition & 0 deletions icepyx/tests/test_behind_NSIDC_API_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def reg():

@pytest.fixture(scope="module")
def session(reg):
os.environ = {"EARTHDATA_EMAIL": "[email protected]"}
ed_obj = reg.session
yield ed_obj
ed_obj.close()
Expand Down

0 comments on commit 9756c50

Please sign in to comment.