From 31c29886932fb007fb704aa9183e8d75f7cfe5b9 Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Sun, 17 Dec 2017 13:28:00 -0500 Subject: [PATCH] Fix test_config.test_get for updated config. colors.completion.fg is now a list instead of a QColor. As this test specifically wanted to test a QColor, I just changed it to a different config option. --- tests/unit/config/test_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/config/test_config.py b/tests/unit/config/test_config.py index 32a7a8119..93686e600 100644 --- a/tests/unit/config/test_config.py +++ b/tests/unit/config/test_config.py @@ -385,7 +385,7 @@ class TestConfig: def test_get(self, conf): """Test conf.get() with a QColor (where get/get_obj is different).""" - assert conf.get('colors.completion.fg') == QColor('white') + assert conf.get('colors.completion.category.fg') == QColor('white') @pytest.mark.parametrize('value', [{}, {'normal': {'a': 'nop'}}]) def test_get_bindings(self, config_stub, conf, value):