summaryrefslogtreecommitdiff
path: root/tests/unit/browser/webkit/test_webkitelem.py
diff options
context:
space:
mode:
authorOlmo Kramer <olmo.kramer@gmail.com>2018-07-05 00:57:08 +0200
committerOlmo Kramer <olmo.kramer@gmail.com>2018-07-05 00:57:08 +0200
commitdaa8bc05078e80991fcc1b05d9bfd44e345eb163 (patch)
tree1654bfa8107218da239869ef755eb0e0c849313b /tests/unit/browser/webkit/test_webkitelem.py
parent9f5f52360c88fb65542e0f6923a3eddd6220ec45 (diff)
downloadqutebrowser-daa8bc05078e80991fcc1b05d9bfd44e345eb163.tar.gz
qutebrowser-daa8bc05078e80991fcc1b05d9bfd44e345eb163.zip
Fix accidentally renamed hint group
Diffstat (limited to 'tests/unit/browser/webkit/test_webkitelem.py')
-rw-r--r--tests/unit/browser/webkit/test_webkitelem.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/unit/browser/webkit/test_webkitelem.py b/tests/unit/browser/webkit/test_webkitelem.py
index eb06a3bca..ffbd63bae 100644
--- a/tests/unit/browser/webkit/test_webkitelem.py
+++ b/tests/unit/browser/webkit/test_webkitelem.py
@@ -146,18 +146,18 @@ class SelectionAndFilterTests:
TESTS = [
('<foo />', []),
('<foo bar="baz"/>', []),
- ('<foo href="baz"/>', ['urls']),
- ('<foo src="baz"/>', ['urls']),
+ ('<foo href="baz"/>', ['url']),
+ ('<foo src="baz"/>', ['url']),
('<a />', ['all']),
- ('<a href="foo" />', ['all', 'links', 'urls']),
- ('<a href="javascript://foo" />', ['all', 'links', 'urls']),
+ ('<a href="foo" />', ['all', 'links', 'url']),
+ ('<a href="javascript://foo" />', ['all', 'links', 'url']),
('<area />', ['all']),
- ('<area href="foo" />', ['all', 'links', 'urls']),
+ ('<area href="foo" />', ['all', 'links', 'url']),
('<link />', ['all']),
- ('<link href="foo" />', ['all', 'links', 'urls']),
+ ('<link href="foo" />', ['all', 'links', 'url']),
('<textarea />', ['all', 'inputs']),
('<select />', ['all']),
@@ -173,7 +173,7 @@ class SelectionAndFilterTests:
('<input type="search" />', ['inputs', 'all']),
('<button />', ['all']),
- ('<button href="foo" />', ['all', 'urls']),
+ ('<button href="foo" />', ['all', 'url']),
# We can't easily test <frame>/<iframe> as they vanish when setting
# them via QWebFrame::setHtml...
@@ -182,10 +182,10 @@ class SelectionAndFilterTests:
('<p onmousedown="foo" foo="bar"/>', ['all']),
('<p role="option" foo="bar"/>', ['all']),
('<p role="button" foo="bar"/>', ['all']),
- ('<p role="button" href="bar"/>', ['all', 'urls']),
+ ('<p role="button" href="bar"/>', ['all', 'url']),
]
- GROUPS = ['all', 'links', 'images', 'urls', 'inputs']
+ GROUPS = ['all', 'links', 'images', 'url', 'inputs']
COMBINATIONS = list(itertools.product(TESTS, GROUPS))