diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-10-11 16:23:29 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-10-11 16:23:29 +0200 |
commit | 2b8b71a82d84e8303494eb4efd9e3b931079bd1f (patch) | |
tree | 4463624ec356c6b164a824c388a48b7433bea7be | |
parent | 7d0ed4a68269773e02f0550e491573556ab35ad6 (diff) | |
download | qutebrowser-2b8b71a82d84e8303494eb4efd9e3b931079bd1f.tar.gz qutebrowser-2b8b71a82d84e8303494eb4efd9e3b931079bd1f.zip |
tests: Ignore 'could not de-queue request' error globally
See #5787
-rw-r--r-- | pytest.ini | 1 | ||||
-rw-r--r-- | tests/unit/utils/test_urlutils.py | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/pytest.ini b/pytest.ini index 51411e11e..0b4fecf37 100644 --- a/pytest.ini +++ b/pytest.ini @@ -76,6 +76,7 @@ qt_log_ignore = ^QPaintDevice: Cannot destroy paint device that is being painted ^DirectWrite: CreateFontFaceFromHDC\(\) failed .* ^Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created\. + ^QHttpNetworkConnectionPrivate::_q_hostLookupFinished could not de-queue request, failed to report HostNotFoundError xfail_strict = true filterwarnings = error diff --git a/tests/unit/utils/test_urlutils.py b/tests/unit/utils/test_urlutils.py index 7fd52152c..df9d8b510 100644 --- a/tests/unit/utils/test_urlutils.py +++ b/tests/unit/utils/test_urlutils.py @@ -745,9 +745,6 @@ 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))) |