From c390c797b2de96b18db21eb3cdcf7829a6220598 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 9 Jun 2016 14:48:38 +0200 Subject: [PATCH] tests: Ignore QtWebKit image format warning In "Cancelling a MHTML download (issue 1535)" (downloads.feature) we load an invalid page as a fake "image". With Qt 5.6.1, we get this warning then. --- pytest.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/pytest.ini b/pytest.ini index a7e0df881..325875882 100644 --- a/pytest.ini +++ b/pytest.ini @@ -37,5 +37,6 @@ qt_log_ignore = ^Geoclue error: Process org\.freedesktop\.Geoclue\.Master exited with status 127 ^QObject::connect: Cannot connect \(null\)::stateChanged\(QNetworkSession::State\) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged\(QNetworkSession::State\) ^QXcbClipboard: Cannot transfer data, no data available + ^Image of format '' blocked because it is not considered safe. If you are sure it is safe to do so, you can white-list the format by setting the environment variable QTWEBKIT_IMAGEFORMAT_WHITELIST= qt_wait_signal_raising = true xfail_strict = true