mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-12-02 18:36:28 +01:00
test(pvakkuadapt): use a neutral location in the provider fixture (#1604)
The fixture used the coordinates of a real installation. A test only needs plausible coordinates, so use 50.0/10.0, as the Open-Meteo tests do. Assisted-by: Claude Code (claude-opus-5-5)
This commit is contained in:
@@ -61,7 +61,7 @@ def test_issued_forecast_immutable_and_day_ahead_baseline_freezes(tmp_path):
|
||||
def provider(config_eos):
|
||||
config_eos.merge_settings_from_dict(
|
||||
dict(
|
||||
general=dict(latitude=50.8588, longitude=7.3747, timezone="Europe/Berlin"),
|
||||
general=dict(latitude=50.0, longitude=10.0, timezone="Europe/Berlin"),
|
||||
pvforecast=dict(
|
||||
provider="PVForecastAdaptiveAkkudoktor",
|
||||
adaptive=dict(regional_weather_model=None, weather_models=["icon_seamless"]),
|
||||
|
||||
Reference in New Issue
Block a user