sunnypilot v2026.002.000
version: sunnypilot v2026.002.000 (staging) date: 2026-07-21T07:44:02 master commit: 2c334ede443d7391d27575af8c854a095ba702a8
This commit is contained in:
commit
de77c89cf6
3995 files changed
+1260688
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import unittest
|
||||
from opendbc.car.values import PLATFORMS
|
||||
|
||||
|
||||
class TestPlatformConfigs(unittest.TestCase):
|
||||
def test_configs(self):
|
||||
|
||||
for name, platform in PLATFORMS.items():
|
||||
with self.subTest(platform=str(platform)):
|
||||
assert platform.config._frozen
|
||||
|
||||
if platform != "MOCK":
|
||||
assert len(platform.config.dbc_dict) > 0
|
||||
assert len(platform.config.platform_str) > 0
|
||||
|
||||
assert name == platform.config.platform_str
|
||||
|
||||
assert platform.config.specs is not None
|
||||
Reference in new issue
Block a user