From 49164650b1801c8afa6432fee3cdeb0aac188e73 Mon Sep 17 00:00:00 2001 From: Amaris Sim Date: Fri, 13 Sep 2024 15:46:07 -0400 Subject: [PATCH] fix test --- _delphi_utils_python/tests/validator/test_datafetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_delphi_utils_python/tests/validator/test_datafetcher.py b/_delphi_utils_python/tests/validator/test_datafetcher.py index 92fa44f34..943972b04 100644 --- a/_delphi_utils_python/tests/validator/test_datafetcher.py +++ b/_delphi_utils_python/tests/validator/test_datafetcher.py @@ -48,7 +48,7 @@ def raise_for_status(self): {'source': 'covid-act-now', 'db_source': 'covid-act-now'}], 200) elif "params" in kwargs and kwargs["params"] == {'signal': 'chng:inactive'}: return MockResponse([{"signals": [{"active": False}]}], 200) - elif args[1] == 'https://api.delphi.cmu.edu/epidata/covidcast_meta/' and \ + elif args[0] == 'https://api.delphi.cmu.edu/epidata/covidcast_meta/' and \ 'delphi_epidata' in kwargs["headers"]["user-agent"]: with open(f"{TEST_DIR}/test_data/sample_epidata_metadata.json") as f: epidata = json.load(f)