mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 00:45:22 +00:00
Skip test for pv forecast timezone behaviour on Windows. (#195)
The 'other_timezone' fixture does not work on Windows. Skip the test case. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
parent
82cbf0f649
commit
fc74cde56f
@ -25,6 +25,7 @@ Usage:
|
||||
"""
|
||||
|
||||
import json
|
||||
import sys
|
||||
from datetime import datetime, timedelta
|
||||
from pathlib import Path
|
||||
|
||||
@ -252,6 +253,9 @@ def test_report_ac_power_and_measurement(pv_forecast_instance, sample_forecast_r
|
||||
assert report == sample_forecast_report
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
sys.platform.startswith("win"), reason="'other_timezone' fixture not supported on Windows"
|
||||
)
|
||||
def test_timezone_behaviour(
|
||||
pv_forecast_instance, sample_forecast_report, sample_forecast_start, other_timezone
|
||||
):
|
||||
|
Loading…
x
Reference in New Issue
Block a user