mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-12-02 19:03:40 +08:00
Bind Hyundai publication fixture to platform enum
This commit is contained in:
@@ -40,7 +40,8 @@ def card_publication_sequence(context):
|
||||
calls=[statement.value.func.attr for statement in statements if isinstance(statement,ast.Expr)]
|
||||
assert calls==['configure','finalize_aol_configuration','seal_publication']
|
||||
exec(compile(ast.Module(body=statements,type_ignores=[]),'actual-card-publication-order','exec'),
|
||||
{'self':context,'aol_policy':policy_for(context.CP), 'hyundai_aol_safety_config':hyundai_aol_safety_config})
|
||||
{'self':context,'aol_policy':policy_for(context.CP), 'HYUNDAI_CAR':CAR,
|
||||
'hyundai_aol_safety_config':hyundai_aol_safety_config})
|
||||
|
||||
|
||||
@pytest.fixture(params=[(CAR.KIA_EV6,EV6Startup),(CAR.GENESIS_GV70_ELECTRIFIED_1ST_GEN,GV70Startup)])
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"protected_inventory_sha256": "60dbc268cc3e6548f597a7f6dcff8032066fe868bab42e2a05a8acaa57de21cb", "schema_version": 1}
|
||||
{"protected_inventory_sha256": "2ba891da7bfe7682da745fc270acab986308bc9c1e354b55ff29a8a1d3a0a879", "schema_version": 1}
|
||||
|
||||
Reference in New Issue
Block a user