summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Roden-Corrent <ryan@rcorre.net>2017-12-17 13:28:00 -0500
committerRyan Roden-Corrent <ryan@rcorre.net>2017-12-17 13:28:00 -0500
commit31c29886932fb007fb704aa9183e8d75f7cfe5b9 (patch)
treef00f32ce23a148054900ca6aba22096187b99b0c
parent57e2d407ceb016f273effb8841beefd8d3c1a015 (diff)
downloadqutebrowser-31c29886932fb007fb704aa9183e8d75f7cfe5b9.tar.gz
qutebrowser-31c29886932fb007fb704aa9183e8d75f7cfe5b9.zip
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.
-rw-r--r--tests/unit/config/test_config.py2
1 files changed, 1 insertions, 1 deletions
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):