From a5ecb75fcd0b00b06359bf69331d7aa8fe7850e8 Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Tue, 5 Sep 2017 07:52:42 -0400 Subject: [PATCH] Really avoid flakiness in test_models. Ensure the OrderedDict is actually ordered consistently. --- tests/unit/completion/test_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/completion/test_models.py b/tests/unit/completion/test_models.py index 5c1944ce8..64552e2a1 100644 --- a/tests/unit/completion/test_models.py +++ b/tests/unit/completion/test_models.py @@ -118,10 +118,10 @@ def configdata_stub(monkeypatch, configdata_init): ), ), default={ - 'normal': collections.OrderedDict({ + 'normal': collections.OrderedDict([ ('', 'quit'), ('ZQ', 'quit'), - }) + ]) }, backends=[], raw_backends=None)),