Skip to content

Commit 1872b81

Browse files
committed
use existing test data for test_null_rows
1 parent 052bdbc commit 1872b81

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

google_symptoms/tests/test_data/state_data_20220916-20220924.csv

Lines changed: 0 additions & 19 deletions
This file was deleted.

google_symptoms/tests/test_pull.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_no_rows_nulled(self):
9797
https://github.com/cmu-delphi/covidcast-indicators/pull/1496 for motivating issue.
9898
"""
9999
# Cast date field to `dbdate` to match dataframe dtypes as provided by the BigQuery fetch.
100-
df = pd.read_csv("test_data/state_data_20220916-20220924.csv").astype({"date": "dbdate"})
100+
df = pd.read_csv(good_input["state"]).astype({"date": "dbdate"})
101101
out = preprocess(df, "state")
102102
assert df.shape[0] == out[~out.Cough.isna()].shape[0]
103103

0 commit comments

Comments
 (0)