summaryrefslogtreecommitdiff
path: root/tests/unit/completion/test_models.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-05-18 10:51:50 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-05-18 10:51:50 +0200
commit196c3129c690232f5492155cf822f8354c352d72 (patch)
tree26c71e8b619304fd0470ade47ac54892ceaa2d58 /tests/unit/completion/test_models.py
parent305e7c96d5e2fdb3b248b27dfb21042fb2b7e0b8 (diff)
downloadqutebrowser-196c3129c690232f5492155cf822f8354c352d72.tar.gz
qutebrowser-196c3129c690232f5492155cf822f8354c352d72.zip
Fix :tab-focus completion
For :tab-focus, we need the tab IDs without window IDs.
Diffstat (limited to 'tests/unit/completion/test_models.py')
-rw-r--r--tests/unit/completion/test_models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/completion/test_models.py b/tests/unit/completion/test_models.py
index 7b46241b2..1a2a2f0a8 100644
--- a/tests/unit/completion/test_models.py
+++ b/tests/unit/completion/test_models.py
@@ -848,8 +848,8 @@ def test_tab_focus_completion(qtmodeltester, fake_web_tab, win_registry,
qtmodeltester.check(model)
_check_completions(model, {
- '1': [
- ('1/1', 'https://wiki.archlinux.org', 'ArchWiki'),
+ 'Tabs': [
+ ('1', 'https://wiki.archlinux.org', 'ArchWiki'),
],
'Special': [
("last",