Avoid flakiness in test_models.

Ensure config values are ordered consistently by using an OrderedDict.
This commit is contained in:
Ryan Roden-Corrent 2017-09-04 15:22:15 -04:00
parent 0d78c72018
commit fc02216754

View File

@ -118,10 +118,10 @@ def configdata_stub(monkeypatch, configdata_init):
),
),
default={
'normal': {
'<ctrl+q>': 'quit',
'ZQ': 'quit'
}
'normal': collections.OrderedDict({
('<ctrl+q>', 'quit'),
('ZQ', 'quit'),
})
},
backends=[],
raw_backends=None)),