File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,10 @@ 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
+ # pylint: disable=fixme
115
+ # TODO: Extract this mapping from meta response instead of hard-coding
116
+ # https://github.com/cmu-delphi/covidcast-indicators/issues/1457
114
117
source_signal_mappings = {
115
- 'chng' : ['chng-cli' , 'chng-covid' ],
116
118
'indicator-combination' : ['indicator-combination-cases-deaths' ],
117
119
'quidel' : ['quidel-covid-ag' ],
118
120
'safegraph' : ['safegraph-weekly' ]
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ 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
+ # pylint: disable=fixme
25
+ # TODO: mock out the advanced meta endpoint /covidcast/meta as well
26
+ # https://github.com/cmu-delphi/covidcast-indicators/issues/1456
24
27
@mock .patch ("covidcast.metadata" )
25
28
def test_get_geo_signal_combos (self , mock_metadata ):
26
29
"""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