File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,9 @@ def get_geo_signal_combos(data_source):
111
111
Cross references based on combinations reported available by COVIDcast metadata.
112
112
"""
113
113
# Maps data_source name with what's in the API, lists used in case of multiple names
114
+ # TODO: https://github.com/cmu-delphi/covidcast-indicators/issues/1457
115
+ # Extract this mapping from meta response instead of hard-coding
114
116
source_signal_mappings = {
115
- 'chng' : ['chng-cli' , 'chng-covid' ],
116
117
'indicator-combination' : ['indicator-combination-cases-deaths' ],
117
118
'quidel' : ['quidel-covid-ag' ],
118
119
'safegraph' : ['safegraph-weekly' ]
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ def test_make_date_filter(self):
21
21
assert not date_filter (FILENAME_REGEX .match ("20200620_a_b.csv" ))
22
22
assert not date_filter (FILENAME_REGEX .match ("202006_a_b.csv" ))
23
23
24
+ # TODO: https://github.com/cmu-delphi/covidcast-indicators/issues/1456
25
+ # mock out the advanced meta endpoint /covidcast/meta as well
24
26
@mock .patch ("covidcast.metadata" )
25
27
def test_get_geo_signal_combos (self , mock_metadata ):
26
28
"""Test that the geo signal combos are correctly pulled from the covidcast metadata."""
You can’t perform that action at this time.
0 commit comments