File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,8 @@ def test_read_target_time(db_session):
114
114
assert forecast_read is not None
115
115
assert forecast_read .location .gsp_id == f .location .gsp_id
116
116
117
+ assert len (forecast_read .forecast_values_latest ) == 1
118
+
117
119
118
120
def test_get_forecast_values (db_session , forecasts ):
119
121
@@ -341,4 +343,3 @@ def test_update_latest_input_data_last_updated_freeze_no_data(db_session):
341
343
input_data_last_updated = get_latest_input_data_last_updated (session = db_session )
342
344
assert input_data_last_updated .pv .replace (tzinfo = None ) == now .replace (tzinfo = None )
343
345
assert input_data_last_updated .gsp .replace (tzinfo = None ) == datetime (1960 , 1 , 1 )
344
- assert len (forecast_read .forecast_values_latest ) == 1
You can’t perform that action at this time.
0 commit comments