Files
StarPilot/openpilot/starpilot/tests/test_ford_neutral_display.py
T
2026-10-29 00:11:34 -05:00

19 lines
850 B
Python

import pytest
from openpilot.starpilot.tests.ford_lifecycle_helpers import FORD_FACTORIES, ford_joined as ford_joined, run_actual_producer
@pytest.fixture(autouse=True)
def configuration(monkeypatch, request):
monkeypatch.ford_angle = request.node.callspec.params['angle']
monkeypatch.ford_topology = request.node.callspec.params['topology']
@pytest.mark.parametrize('identity', [FORD_FACTORIES[11]])
@pytest.mark.parametrize('alpha', [True])
@pytest.mark.parametrize('hands_free', [False, True])
@pytest.mark.parametrize('angle', [False, True])
@pytest.mark.parametrize('topology', ['automatic', 'manual-multi'])
def test_main_off_neutral_cluster_and_actual_native_reengagement(ford_joined, monkeypatch, angle, topology):
monkeypatch.ford_native_10hz = True
run_actual_producer(ford_joined, monkeypatch, scenario='neutral-main-cadence')