Skip to content

Commit 3fb6204

Browse files
committed
asserting that timeout returns to 600s after it is adjusted
1 parent 928896e commit 3fb6204

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
@@ -969,6 +969,9 @@ def test_tesscut_get_cutouts(self, product, caplog):
969969
with caplog.at_level("INFO", logger="astroquery"):
970970
assert "timeout upper limit is being changed" in caplog.text
971971

972+
# Ensure that timeout returns to default (600 seconds) after adjusted in previous call
973+
assert mast.Tesscut._service_api_connection.TIMEOUT == 600
974+
972975
def test_tesscut_get_cutouts_mt(self):
973976

974977
# Moving target functionality testing

0 commit comments

Comments
 (0)