Skip to content

Commit

Permalink
fixes search test using "datasets"
Browse files Browse the repository at this point in the history
  • Loading branch information
kim committed Nov 8, 2023
1 parent 2a9cc9d commit fddc544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Search/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def run_test_dataset_search(datasets: List):
for dataset in datasets:
valid_shortnames = list(dataset_collections.get(dataset))

response = search(datasets=dataset, maxResults=250)
response = search(dataset=dataset, maxResults=250)

# Get collection shortName of all granules
shortNames = list(set([shortName for product in response if (shortName:=get(product.umm, 'CollectionReference', 'ShortName')) is not None]))
Expand Down

0 comments on commit fddc544

Please sign in to comment.