Align personality registry test with Dom defaults

This commit is contained in:
AngusBell97
2026-09-14 10:52:38 -05:00
committed by firestar5683
parent 6f3d863ecd
commit 9d0ab7a849
@@ -16,9 +16,9 @@ def test_registry_empty_object_get_and_enable(monkeypatch, raw):
saved = strict_profile_document(params.values[PERSONALITY_PROFILES_PARAM])
assert saved is not None and saved['enabled']
assert all(profile == {
'acceleration': {'preset':'standard','curve':[]},
'braking': {'preset':'standard','curve':[]},
'following': {'preset':'medium','curve':[]},
'acceleration': {'preset':'dom_default','curve':[]},
'braking': {'preset':'dom_default','curve':[]},
'following': {'preset':'dom_default','curve':[]},
} for profile in saved['profiles'].values())
@pytest.mark.parametrize('raw', [{}, '{}', b'{}'])