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.
This commit is contained in:
Ryan Roden-Corrent 2017-12-17 13:28:00 -05:00
parent 57e2d407ce
commit 31c2988693

View File

@ -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):