From 468a0937441fc8d6d38373ccec88da7e5b072201 Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Mon, 16 Dec 2024 14:55:19 +0000 Subject: [PATCH] make 25 hours of wind readings --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 39f71f3..273ef47 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -166,7 +166,7 @@ def generation_db_values(db_session, sites, init_timestamp): def generation_db_values_only_wind(db_session, sites, init_timestamp): """Create some fake generations""" - n = 20*24 # 24 hours of readings + n = 20*25 # 25 hours of readings start_times = [init_timestamp - dt.timedelta(minutes=x * 3) for x in range(n)] # remove some of the most recent readings (to simulate missing timestamps)