diff --git a/tests/hdx/location/test_currency.py b/tests/hdx/location/test_currency.py index 4cd16bb..a1f9be5 100755 --- a/tests/hdx/location/test_currency.py +++ b/tests/hdx/location/test_currency.py @@ -563,3 +563,6 @@ def test_get_adjclose(self, retrievers, secondary_historic_url): } timestamp = Currency._get_int_timestamp(parse_date("2015-12-15")) assert Currency._get_adjclose(indicators, "COP", timestamp) == 3270 + + Currency._no_historic = True + assert Currency._get_adjclose(indicators, "COP", timestamp) is None