Skip to content

Commit f253d66

Browse files
dshemetovkrivard
andcommitted
Update integrations/server/test_covidcast_endpoints.py
- add default endpoint comment Co-authored-by: Katie Mazaitis <[email protected]>
1 parent bb01eb5 commit f253d66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

integrations/server/test_covidcast_endpoints.py

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def _fetch(self, endpoint="/", is_compatibility=False, **params):
3939
# make the request
4040
if is_compatibility:
4141
url = BASE_URL_OLD
42+
# only set endpoint if it's not already set
4243
params.setdefault("endpoint", "covidcast")
4344
if params.get("source"):
4445
params.setdefault("data_source", params.get("source"))

0 commit comments

Comments
 (0)