Skip to content

Commit a550e79

Browse files
committed
starting a unit test for cloud_uri
1 parent 52f1b89 commit a550e79

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

astroquery/mast/tests/test_mast_remote.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,20 @@ def test_observations_download_file(self, tmpdir):
294294
result = mast.Observations.download_file(uri)
295295
assert result == ('COMPLETE', None, None)
296296

297+
def test_get_cloud_uri(self, )
298+
test_obs_id = '2003600312'
299+
300+
# get a product list
301+
product = mast.Observations.get_product_list(test_obs_id)
302+
303+
# enable access to public AWS S3 bucket
304+
mast.Observations.enable_cloud_dataset()
305+
306+
# get uri
307+
mast.Observations.get_cloud_uri(product)
308+
309+
def test_get_cloud_uris(self, )
310+
297311
######################
298312
# CatalogClass tests #
299313
######################

0 commit comments

Comments
 (0)