From 0bc5b049b56c03301732dfeee8e3ce3d7dda600b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 1 Jun 2020 15:02:06 +0200 Subject: tests: Ignore QHttpNetworkConnection warning See https://github.com/qutebrowser/qutebrowser/issues/5390#issuecomment-634062762 --- tests/unit/utils/test_urlutils.py | 3 +++ 1 file changed, 3 insertions(+) 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))) -- cgit v1.2.3-54-g00ecf