summaryrefslogtreecommitdiff
path: root/tests/unit/config/test_configcommands.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2018-11-30 08:31:03 +0100
committerFlorian Bruhin <me@the-compiler.org>2018-11-30 08:31:03 +0100
commitf6c36ccbee9328d261799f1c09e1341444a1e618 (patch)
treedaf1bf7282e9c4263d781c7b16a1114c098c5cea /tests/unit/config/test_configcommands.py
parent5bf0dffa9558b7f0da5ba763bb87c5f380ff0261 (diff)
downloadqutebrowser-f6c36ccbee9328d261799f1c09e1341444a1e618.tar.gz
qutebrowser-f6c36ccbee9328d261799f1c09e1341444a1e618.zip
Rename openurl to load_url
We still call the :open command openurl, but in the tab API and in TabbedBrowser it's now called load_url.
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 001d55899..209d8db44 100644
--- a/tests/unit/config/test_configcommands.py
+++ b/tests/unit/config/test_configcommands.py
@@ -59,7 +59,7 @@ class TestSet:
Should open qute://settings."""
commands.set(win_id=0)
- assert tabbed_browser_stubs[0].opened_url == QUrl('qute://settings')
+ assert tabbed_browser_stubs[0].loaded_url == QUrl('qute://settings')
@pytest.mark.parametrize('option', ['url.auto_search?', 'url.auto_search'])
def test_get(self, config_stub, commands, message_mock, option):
@@ -620,7 +620,7 @@ class TestBind:
config_stub.val.bindings.default = no_bindings
config_stub.val.bindings.commands = no_bindings
commands.bind(win_id=0)
- assert tabbed_browser_stubs[0].opened_url == QUrl('qute://bindings')
+ assert tabbed_browser_stubs[0].loaded_url == QUrl('qute://bindings')
@pytest.mark.parametrize('command', ['nop', 'nope'])
def test_bind(self, commands, config_stub, no_bindings, key_config_stub,