Skip to content

Commit

Permalink
Updating filters key in params for test_astroquery_mast
Browse files Browse the repository at this point in the history
  • Loading branch information
mfixstsci committed Nov 13, 2023
1 parent 6907259 commit c5b286e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jwql/tests/test_mast_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@
def test_astroquery_mast():
"""Test if the astroquery.mast service can complete a request"""
service = 'Mast.Caom.Filtered'
params = {'columns': 'COUNT_BIG(*)', 'filters': [], 'pagesize': 1,
'page': 1}
params = {'columns': 'COUNT_BIG(*)',
'filters': [{"paramName": "obs_collection",
"values": ["JWST"]},],
'pagesize': 1, 'page': 1}
response = Mast.service_request_async(service, params)
result = response[0].json()

Expand Down

0 comments on commit c5b286e

Please sign in to comment.