mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-17 04:53:50 +08:00
Align personality registry test with Dom defaults
This commit is contained in:
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'{}'])
|
||||
|
||||
Reference in New Issue
Block a user