diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-11-04 21:26:17 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-11-04 21:26:17 +0100 |
commit | 5adb053e77dfdc1e18e7dfa4db1561d22b97f695 (patch) | |
tree | 6f896a1073a47228dc4aa5f61cd29c8bb9709e41 /tests | |
parent | 81080aaffde55d0bb49c8d931c8b079a7576ac58 (diff) | |
download | qutebrowser-5adb053e77dfdc1e18e7dfa4db1561d22b97f695.tar.gz qutebrowser-5adb053e77dfdc1e18e7dfa4db1561d22b97f695.zip |
Fix lint
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/utils/test_urlmatch.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/utils/test_urlmatch.py b/tests/unit/utils/test_urlmatch.py index 9a3091e05..7e0807d7e 100644 --- a/tests/unit/utils/test_urlmatch.py +++ b/tests/unit/utils/test_urlmatch.py @@ -37,6 +37,7 @@ from PyQt5.QtCore import QUrl from qutebrowser.utils import urlmatch +# pylint: disable=line-too-long @pytest.mark.parametrize('pattern, error', [ ### Chromium: kMissingSchemeSeparator @@ -191,6 +192,8 @@ def test_invalid_patterns(pattern, error): with pytest.raises(urlmatch.ParseError, match=error): urlmatch.UrlPattern(pattern) +# pylint: enable=line-too-long + @pytest.mark.parametrize('host', ['.', ' ', ' .', '. ', '. .', '. . .', ' . ']) def test_whitespace_hosts(host): |