Skip to content

Commit

Permalink
Enable cloud data in test case
Browse files Browse the repository at this point in the history
Style fix
  • Loading branch information
snbianco committed Feb 11, 2025
1 parent 488edfe commit 60cc19d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions astroquery/mast/tests/test_mast_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,9 @@ def test_observations_get_cloud_uris_list_input(self):
's3://stpubdata/panstarrs/ps1/public/rings.v3.skycell/1334/061/rings.v3.skycell.1334.'
'061.stk.r.unconv.exp.fits']

# enable access to public AWS S3 bucket
Observations.enable_cloud_dataset()

# list of URI strings as input
uris = Observations.get_cloud_uris(uri_list)
assert len(uris) > 0, f'Products for URI list {uri_list} were not found in the cloud.'
Expand Down

0 comments on commit 60cc19d

Please sign in to comment.