diff options
author | Florian Bruhin <me@the-compiler.org> | 2018-11-30 08:31:03 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2018-11-30 08:31:03 +0100 |
commit | f6c36ccbee9328d261799f1c09e1341444a1e618 (patch) | |
tree | daf1bf7282e9c4263d781c7b16a1114c098c5cea /tests/unit/config/test_configcommands.py | |
parent | 5bf0dffa9558b7f0da5ba763bb87c5f380ff0261 (diff) | |
download | qutebrowser-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.py | 4 |
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, |