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:
parent
57e2d407ce
commit
31c2988693
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user