Files
service_netatmo/tests/test_rrd.py
T

8 lines
256 B
Python
Raw Normal View History

2026-08-30 12:30:07 +02:00
from netatmo_service.rrd import RRDStore
def test_rrd_files_have_netatmo_prefix(tmp_path):
store = RRDStore(tmp_path)
assert store.path("outdoor") == tmp_path / "netatmo_outdoor.rrd"
assert store.path("wind") == tmp_path / "netatmo_wind.rrd"