Skip to content

Commit 297672a

Browse files
jaymedinabsipocz
authored andcommitted
asserting that timeout returns to 600s after it is adjusted
1 parent ed07859 commit 297672a

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

983+
# Ensure that timeout returns to default (600 seconds) after adjusted in previous call
984+
assert mast.Tesscut._service_api_connection.TIMEOUT == 600
985+
983986
def test_tesscut_get_cutouts_mt(self):
984987

985988
# Moving target functionality testing

0 commit comments

Comments
 (0)