Skip to content

Commit

Permalink
Feature/new test (#81)
Browse files Browse the repository at this point in the history
* updated test notebook

* update notebook test to not use notebooks

* Update uat_associations.txt with new collections

* changes to drop variables

* update tests

* update tests

* update python libraries

* update notebook test

* update changelog

* update tests names

* fix checking venue to lower case

* debugging tests

* testing larger runners

* debug tests

* debug test

* debug test

* debug test

* debug test

* updated concise tests

* fix indentation

---------

Co-authored-by: jonathansmolenski <[email protected]>
  • Loading branch information
sliu008 and jonathansmolenski authored Aug 28, 2023
1 parent 94689b9 commit 95e4c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions add_collection_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def test(collection_id, venue):
if venue.lower() == 'uat':
cmr_base_url = "https://cmr.uat.earthdata.nasa.gov/search/granules.umm_json?readable_granule_name="
edl_root = 'uat.urs.earthdata.nasa.gov'

token = get_token(edl_root, username, password)
headers = {
"Authorization": f"Bearer {token}"
Expand Down Expand Up @@ -293,7 +293,7 @@ def run():
fails.append(collection)

# Create output files
if output_location:
if output_location:
success_outfile = path.realpath(f'{output_location}/{_args.env}_success.txt')
fail_outfile = path.realpath(f'{output_location}/{_args.env}_fail.txt')

Expand Down

0 comments on commit 95e4c28

Please sign in to comment.