summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authortoofar <toofar@spalge.com>2024-04-28 12:40:42 +1200
committertoofar <toofar@spalge.com>2024-04-28 12:43:40 +1200
commitbdbbb93cd2120d8d58108da2b5fe72d65bff19f7 (patch)
tree6f08b993fc1a432fa761c2d1d3f92d1d1167c5b4 /tests
parent085af130140bc4c7fadd60de611f4c3e4ea5ee0f (diff)
downloadqutebrowser-bdbbb93cd2120d8d58108da2b5fe72d65bff19f7.tar.gz
qutebrowser-bdbbb93cd2120d8d58108da2b5fe72d65bff19f7.zip
fix lint, add cheroot log ignores
mypy: Mypy knows about the QDataStream.Status.SizeLimitExceeded attribute now, so we can remove the ignore. But mypy for pyqt5 doesn't know about it, so put the whole graceful block behind an additional conditional as well to hide it from pyqt5 mypy. cheroot: looks like the format of the error message we are already ignoring changed slightly. The `ssl/tls` bit changed to `sslv3`, at least in our setup.
Diffstat (limited to 'tests')
-rw-r--r--tests/end2end/fixtures/webserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/end2end/fixtures/webserver.py b/tests/end2end/fixtures/webserver.py
index 924cb520b..b70401745 100644
--- a/tests/end2end/fixtures/webserver.py
+++ b/tests/end2end/fixtures/webserver.py
@@ -116,7 +116,7 @@ def is_ignored_webserver_message(line: str) -> bool:
return testutils.pattern_match(
pattern=(
"Client ('127.0.0.1', *) lost — peer dropped the TLS connection suddenly, "
- "during handshake: (1, '[SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] ssl/tls "
+ "during handshake: (1, '[SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] * "
"alert certificate unknown (_ssl.c:*)')"
),
value=line,