Skip to content

Commit

Permalink
Feature/new test (#84)
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

* renaming add collection test github actions yml

* update old jupyter test

* remove jupyter notebook references

* reverting github actions name

* modify way we get a filename

---------

Co-authored-by: jonathansmolenski <[email protected]>
  • Loading branch information
sliu008 and jonathansmolenski authored Aug 28, 2023
1 parent 0ca0237 commit 7680432
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion add_collection_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,12 @@ def test(collection_id, venue):

for file in original_files:

file_name = file.rsplit(".", 1)[0]
# if the file name end in an alphabet so we know there is some extension
if file[-1].isalpha():
file_name = file.rsplit(".", 1)[0]
else:
file_name = file

print(file_name)
cmr_query = f"{cmr_base_url}{file_name}&collection_concept_id={collection_id}"
print(cmr_query)
Expand Down

0 comments on commit 7680432

Please sign in to comment.