diff --git a/tests/get_associations.py b/tests/get_associations.py index 31028cd590..f918682e29 100644 --- a/tests/get_associations.py +++ b/tests/get_associations.py @@ -51,7 +51,10 @@ def get_associations(token, env): service_concept_id = cmr.queries.ServiceQuery(mode=mode).provider('POCLOUD').name('PODAAC L2 Cloud Subsetter').get()[0].get('concept_id') url = cmr.queries.CollectionQuery(mode=mode).service_concept_id(service_concept_id).provider('POCLOUD')._build_url() - collections_query = requests.get(url, headers=headers, params={'page_size': 2000}).json()['feed']['entry'] + print(url) + collections_query = requests.get(url, headers=headers, params={'page_size': 2000}).json() + print(collections_query) + results = collection_query['feed']['entry'] collections = [a.get('id') for a in collections_query] filename = f"{env}_associations.json"