diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-06-13 19:37:05 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-06-13 19:37:05 +0200 |
commit | cd1be710de29eb29cf16e3b22185afd093c2ff19 (patch) | |
tree | c1acd5ba09b16dbb9e795f7fb79a57f39fe98f80 /tests/unit | |
parent | f81bc8a53f7791093938965676ecdbd4e62beb33 (diff) | |
download | qutebrowser-cd1be710de29eb29cf16e3b22185afd093c2ff19.tar.gz qutebrowser-cd1be710de29eb29cf16e3b22185afd093c2ff19.zip |
Fix lint with FindFlags change
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/browser/webengine/test_webenginetab.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/browser/webengine/test_webenginetab.py b/tests/unit/browser/webengine/test_webenginetab.py index 446dbd9a7..30807bb4e 100644 --- a/tests/unit/browser/webengine/test_webenginetab.py +++ b/tests/unit/browser/webengine/test_webenginetab.py @@ -219,7 +219,8 @@ def test_notification_permission_workaround(): class TestFindFlags: @pytest.mark.parametrize("case_sensitive, backward, expected", [ - (True, True, QWebEnginePage.FindFlag.FindCaseSensitively | QWebEnginePage.FindFlag.FindBackward), + (True, True, (QWebEnginePage.FindFlag.FindCaseSensitively | + QWebEnginePage.FindFlag.FindBackward)), (True, False, QWebEnginePage.FindFlag.FindCaseSensitively), (False, True, QWebEnginePage.FindFlag.FindBackward), (False, False, QWebEnginePage.FindFlag(0)), |