Skip to content

Commit

Permalink
Add check to test case
Browse files Browse the repository at this point in the history
  • Loading branch information
snbianco authored and bsipocz committed Jun 14, 2024
1 parent 8c0a3ff commit a5189c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions astroquery/mast/tests/test_mast.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,13 @@ def test_observations_download_products(patch_post, tmpdir):
mrp_only=False)
assert isinstance(result, Table)

# without console output
result = mast.Observations.download_products('2003738726',
download_dir=str(tmpdir),
productType=["SCIENCE"],
verbose=False)
assert isinstance(result, Table)

# passing row product
products = mast.Observations.get_product_list('2003738726')
result1 = mast.Observations.download_products(products[0],
Expand Down

0 comments on commit a5189c6

Please sign in to comment.