Skip to content

Commit 60cc19d

Browse files
committed
Enable cloud data in test case
Style fix
1 parent 488edfe commit 60cc19d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

astroquery/mast/tests/test_mast_remote.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,9 @@ def test_observations_get_cloud_uris_list_input(self):
812812
's3://stpubdata/panstarrs/ps1/public/rings.v3.skycell/1334/061/rings.v3.skycell.1334.'
813813
'061.stk.r.unconv.exp.fits']
814814

815+
# enable access to public AWS S3 bucket
816+
Observations.enable_cloud_dataset()
817+
815818
# list of URI strings as input
816819
uris = Observations.get_cloud_uris(uri_list)
817820
assert len(uris) > 0, f'Products for URI list {uri_list} were not found in the cloud.'

0 commit comments

Comments
 (0)