Skip to content

Commit 3f5e1a6

Browse files
committed
also revert tests
1 parent 9eb559c commit 3f5e1a6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

integrations/client/test_delphi_epidata.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,9 @@ def test_async_epidata(self):
335335
]
336336
self._insert_rows(rows)
337337

338-
test_output = Epidata.async_epidata('covidcast', [
339-
self.params_from_row(rows[0]),
340-
self.params_from_row(rows[1])
338+
test_output = Epidata.async_epidata([
339+
self.params_from_row(rows[0], source='covidcast'),
340+
self.params_from_row(rows[1], source='covidcast')
341341
]*12, batch_size=10)
342342
responses = [i[0] for i in test_output]
343343
# check response is same as standard covidcast call, using 24 calls to test batch sizing
@@ -352,8 +352,9 @@ def test_async_epidata(self):
352352
@fake_epidata_endpoint
353353
def test_async_epidata_fail(self):
354354
with pytest.raises(ClientResponseError, match="404, message='NOT FOUND'"):
355-
Epidata.async_epidata('covidcast', [
355+
Epidata.async_epidata([
356356
{
357+
'source': 'covidcast',
357358
'data_source': 'src',
358359
'signals': 'sig',
359360
'time_type': 'day',

0 commit comments

Comments
 (0)