Skip to content

Commit 5c829b9

Browse files
committed
Fix unit test
1 parent 8b3bcc7 commit 5c829b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/acquisition/covidcast_nowcast/test_load_sensors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ def test_load_and_prepare_file(self):
2828
"test_issue_value",
2929
"test_lag_value")
3030

31-
test_df = load_and_prepare_file(StringIO("sensor_name,geo_value,value,lag,issue\ntestname,01001,1.5,2,20210102"), test_attributes)
31+
test_df = load_and_prepare_file(StringIO("sensor_name,geo_value,value,issue\ntestname,01001,1.5,20210102"), test_attributes)
3232
pd.testing.assert_frame_equal(test_df,
3333
pd.DataFrame({"sensor_name": ["testname"],
3434
"geo_value": ["01001"],
3535
"value": [1.5],
36-
"lag": [2],
3736
"issue": [20210102],
3837
"source": ["test_source"],
3938
"signal": ["test_signal"],
4039
"time_type": ["test_time_type"],
4140
"geo_type": ["test_geo_type"],
4241
"time_value": [20201231],
42+
"lag": [2],
4343
"value_updated_timestamp": [12345]})
4444
)

0 commit comments

Comments
 (0)