We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b0b45 commit 5659a9dCopy full SHA for 5659a9d
tests/read/test_read.py
@@ -166,6 +166,8 @@ def test_get_forecast_values_latest_gsp_id(db_session):
166
_ = ForecastValue.from_orm(forecast_values_read[0])
167
168
assert len(forecast_values_read) == 2
169
+ assert forecast_values_read[0].gsp_id == f1[0].location.gsp_id
170
+ assert forecast_values_read[0].target_time == f1[0].forecast_values_latest[0].target_time
171
assert forecast_values_read[0] == f1[0].forecast_values_latest[0]
172
173
0 commit comments