Skip to content

Commit 193ef7b

Browse files
committed
Fix test to include today's posts
1 parent 217fcfc commit 193ef7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integrations/acquisition/covid_hosp/state_daily/test_scenarios.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def setUp(self):
4747
cur.execute('delete from api_user')
4848
cur.execute('insert into api_user(api_key, email) values("key", "email")')
4949

50-
@freeze_time("2021-03-16")
50+
@freeze_time("2021-03-15")
5151
def test_acquire_dataset(self):
5252
"""Acquire a new dataset."""
5353

@@ -76,7 +76,7 @@ def test_acquire_dataset(self):
7676
row = response['epidata'][0]
7777
self.assertEqual(row['state'], 'WY')
7878
self.assertEqual(row['date'], 20201209)
79-
self.assertEqual(row['issue'], 20210315)
79+
self.assertEqual(row['issue'], 20210315) # include today's data by default
8080
self.assertEqual(row['critical_staffing_shortage_today_yes'], 8)
8181
self.assertEqual(row['total_patients_hospitalized_confirmed_influenza_covid_coverage'], 56)
8282
actual = row['inpatient_bed_covid_utilization']

0 commit comments

Comments
 (0)