Skip to content

Commit 49e786b

Browse files
Update test
1 parent 062c4bc commit 49e786b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/acquisition/covidcast/test_covidcast_meta_cache_updater.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_main_successful(self):
3434
'epidata': [{'foo': 'bar'}],
3535
}
3636

37-
args = None
37+
args = MagicMock(log_file="log")
3838
mock_epidata_impl = MagicMock()
3939
mock_epidata_impl.covidcast_meta.return_value = api_response
4040
mock_database = MagicMock()
@@ -64,7 +64,7 @@ def test_main_failure(self):
6464
'message': 'no',
6565
}
6666

67-
args = None
67+
args = MagicMock(log_file="log")
6868
mock_database = MagicMock()
6969
mock_database.get_covidcast_meta.return_value = list()
7070
fake_database_impl = lambda: mock_database

0 commit comments

Comments
 (0)