summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-06-01 15:02:06 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-06-01 15:03:30 +0200
commit0bc5b049b56c03301732dfeee8e3ce3d7dda600b (patch)
treeda5e5826c2d029519c71ac9b962f538a7afdb2dc
parentfde776de20798904f092f7efec4daafa2885650e (diff)
downloadqutebrowser-0bc5b049b56c03301732dfeee8e3ce3d7dda600b.tar.gz
qutebrowser-0bc5b049b56c03301732dfeee8e3ce3d7dda600b.zip
tests: Ignore QHttpNetworkConnection warning
See https://github.com/qutebrowser/qutebrowser/issues/5390#issuecomment-634062762
-rw-r--r--tests/unit/utils/test_urlutils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/utils/test_urlutils.py b/tests/unit/utils/test_urlutils.py
index 39a43479b..a9f32161d 100644
--- a/tests/unit/utils/test_urlutils.py
+++ b/tests/unit/utils/test_urlutils.py
@@ -716,6 +716,9 @@ class TestProxyFromUrl:
def test_proxy_from_url_valid(self, url, expected):
assert urlutils.proxy_from_url(QUrl(url)) == expected
+ @pytest.mark.qt_log_ignore(
+ r'^QHttpNetworkConnectionPrivate::_q_hostLookupFinished could not '
+ r'de-queue request, failed to report HostNotFoundError')
@pytest.mark.parametrize('scheme', ['pac+http', 'pac+https'])
def test_proxy_from_url_pac(self, scheme, qapp):
fetcher = urlutils.proxy_from_url(QUrl('{}://foo'.format(scheme)))