summaryrefslogtreecommitdiff
path: root/tests/unit/config/test_configcommands.py
diff options
context:
space:
mode:
authorÁrni Dagur <arni@dagur.eu>2020-12-19 20:30:03 +0000
committerÁrni Dagur <arni@dagur.eu>2020-12-19 20:30:03 +0000
commit317af23593584366a4eb1d7c077389162cb70c32 (patch)
tree553b3605cf89bd1919fda863757ede09561de3cb /tests/unit/config/test_configcommands.py
parent6e5e80d39af5c258fb67a444d1a0a961474d1c05 (diff)
parent31cd414664ed8600a82c09aec75b13b28befeb5b (diff)
downloadqutebrowser-317af23593584366a4eb1d7c077389162cb70c32.tar.gz
qutebrowser-317af23593584366a4eb1d7c077389162cb70c32.zip
Merge branch 'master' into more-sophisticated-adblock
Diffstat (limited to 'tests/unit/config/test_configcommands.py')
-rw-r--r--tests/unit/config/test_configcommands.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/unit/config/test_configcommands.py b/tests/unit/config/test_configcommands.py
index 331d214b1..dc62717e5 100644
--- a/tests/unit/config/test_configcommands.py
+++ b/tests/unit/config/test_configcommands.py
@@ -212,14 +212,12 @@ class TestSet:
commands.set(win_id=0, option='foo?')
-@pytest.mark.parametrize('old', [True, False])
-def test_diff(commands, tabbed_browser_stubs, old):
+def test_diff(commands, tabbed_browser_stubs):
"""Run ':config-diff'.
Should open qute://configdiff."""
- commands.config_diff(win_id=0, old=old)
- url = QUrl('qute://configdiff/old') if old else QUrl('qute://configdiff')
- assert tabbed_browser_stubs[0].loaded_url == url
+ commands.config_diff(win_id=0)
+ assert tabbed_browser_stubs[0].loaded_url == QUrl('qute://configdiff')
class TestCycle: