summaryrefslogtreecommitdiff
path: root/tests/unit/config/test_configcommands.py
diff options
context:
space:
mode:
authorÁrni Dagur <agudmundsson@fc-md.umd.edu>2020-05-13 21:06:44 -0400
committerÁrni Dagur <arni@dagur.eu>2020-12-19 20:23:17 +0000
commit44941e747c71f5c16e28cfc84f9b5308ccba206a (patch)
tree7b21a58aeade9f7641427efa2df76468928fe383 /tests/unit/config/test_configcommands.py
parentaf938668e327a366de6c72299bf4bfd0a36d4aba (diff)
downloadqutebrowser-44941e747c71f5c16e28cfc84f9b5308ccba206a.tar.gz
qutebrowser-44941e747c71f5c16e28cfc84f9b5308ccba206a.zip
Change setting names to use a common .blocking parent
Diffstat (limited to 'tests/unit/config/test_configcommands.py')
-rw-r--r--tests/unit/config/test_configcommands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/config/test_configcommands.py b/tests/unit/config/test_configcommands.py
index f1479bda1..f896cf4ad 100644
--- a/tests/unit/config/test_configcommands.py
+++ b/tests/unit/config/test_configcommands.py
@@ -289,7 +289,7 @@ class TestAdd:
@pytest.mark.parametrize('temp', [True, False])
@pytest.mark.parametrize('value', ['test1', 'test2'])
def test_list_add(self, commands, config_stub, yaml_value, temp, value):
- name = 'content.host_blocking.whitelist'
+ name = 'content.blocking.whitelist'
commands.config_list_add(name, value, temp=temp)
@@ -316,7 +316,7 @@ class TestAdd:
with pytest.raises(
cmdutils.CommandError,
match="Invalid value '{}'".format(value)):
- commands.config_list_add('content.host_blocking.whitelist', value)
+ commands.config_list_add('content.blocking.whitelist', value)
@pytest.mark.parametrize('value', ['test1', 'test2'])
@pytest.mark.parametrize('temp', [True, False])