Points: the runs of the emulator too (<SERIAL>@<run>), each with its own points

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-20 08:31:18 +01:00
1 parent dcd255ab1f
commit f21fcebeae
3 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -440,7 +440,7 @@ def check_points():
s, o = next(iter(d["sensors"].items()))
assert validity.mark(n["name"], {"sensor": s, "times": o["t"][:2], "valid": False})["invalid"] == 2
refuses(validity.create, {"station": "NIEDERHORN", "start": "2026-09-25", "end": "2026-09-26"}) # exists
refuses(validity.create, {"station": "NIEDERHORN@run", "start": "2026-09-25", "end": "2026-09-26"})
refuses(validity.create, {"station": "NIEDERHORN@nope", "start": "2026-09-25", "end": "2026-09-26"}) # unknown run
refuses(validity.dataset, "../x")
refuses(validity.mark, n["name"], {"sensor": s, "times": ["2026-09-27 00:00:00"], "valid": False})
finally: