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):
111111 Cross references based on combinations reported available by COVIDcast metadata.
112112 """
113113 # 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
114116 source_signal_mappings = {
115- 'chng' : ['chng-cli' , 'chng-covid' ],
116117 'indicator-combination' : ['indicator-combination-cases-deaths' ],
117118 'quidel' : ['quidel-covid-ag' ],
118119 'safegraph' : ['safegraph-weekly' ]
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ def test_make_date_filter(self):
2121 assert not date_filter (FILENAME_REGEX .match ("20200620_a_b.csv" ))
2222 assert not date_filter (FILENAME_REGEX .match ("202006_a_b.csv" ))
2323
24+ # TODO: https://github.com/cmu-delphi/covidcast-indicators/issues/1456
25+ # mock out the advanced meta endpoint /covidcast/meta as well
2426 @mock .patch ("covidcast.metadata" )
2527 def test_get_geo_signal_combos (self , mock_metadata ):
2628 """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