From 3932b7c4e64232532ff23b7d904995abca4a798f Mon Sep 17 00:00:00 2001 From: Brett Date: Wed, 30 Oct 2024 13:00:38 -0400 Subject: [PATCH] add timeout to mast call --- src/stdatamodels/jwst/_kwtool/_tests/test_against_mast.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stdatamodels/jwst/_kwtool/_tests/test_against_mast.py b/src/stdatamodels/jwst/_kwtool/_tests/test_against_mast.py index f294a15a..cc535ecb 100644 --- a/src/stdatamodels/jwst/_kwtool/_tests/test_against_mast.py +++ b/src/stdatamodels/jwst/_kwtool/_tests/test_against_mast.py @@ -24,6 +24,7 @@ def fetch_keyword_dictionary(): "https://mast.stsci.edu/api/v0/invoke", data=f"request={request_data}", headers={"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"}, + timeout=10, ).json() del response["msg"] del response["status"]