mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-06 02:25:45 +08:00
ignoring reserved events
This commit is contained in:
@@ -41,7 +41,7 @@ class TestAlerts:
|
||||
events = log.OnroadEvent.EventName.schema.enumerants
|
||||
|
||||
for name, e in events.items():
|
||||
if not name.endswith("DEPRECATED"):
|
||||
if not name.endswith("DEPRECATED") and not name.startswith("eventReserved"):
|
||||
fail_msg = "%s @%d not in EVENTS" % (name, e)
|
||||
assert e in EVENTS.keys(), fail_msg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user