2015-07-19 21:55:55 +02:00
[pytest]
2017-10-04 08:58:35 +02:00
addopts = --strict -rfEw --faulthandler-timeout=90 --instafail --pythonwarnings error --benchmark-columns=Min,Max,Median
2017-07-19 12:22:30 +02:00
testpaths = tests
2015-07-19 21:55:55 +02:00
markers =
gui: Tests using the GUI (e.g. spawning widgets)
2016-02-27 02:45:34 +01:00
posix: Tests which only can run on a POSIX OS.
windows: Tests which only can run on Windows.
linux: Tests which only can run on Linux.
2017-07-08 11:12:43 +02:00
mac: Tests which only can run on macOS.
not_mac: Tests which can not run on macOS.
2016-02-27 02:45:34 +01:00
not_frozen: Tests which can't be run if sys.frozen is True.
2016-02-16 20:36:23 +01:00
no_xvfb: Tests which can't be run with Xvfb.
2016-02-27 02:45:34 +01:00
frozen: Tests which can only be run if sys.frozen is True.
2016-05-29 18:20:00 +02:00
integration: Tests which test a bigger portion of code
end2end: End to end tests which run qutebrowser as subprocess
2016-01-14 07:53:00 +01:00
xfail_norun: xfail the test with out running it
2016-02-27 02:45:34 +01:00
ci: Tests which should only run on CI.
2017-07-04 10:36:25 +02:00
no_ci: Tests which should not run on CI.
2016-08-18 13:05:37 +02:00
qtwebengine_todo: Features still missing with QtWebEngine
2016-08-18 18:16:33 +02:00
qtwebengine_skip: Tests not applicable with QtWebEngine
2016-09-05 10:44:07 +02:00
qtwebkit_skip: Tests not applicable with QtWebKit
2016-09-06 21:43:02 +02:00
qtwebengine_flaky: Tests which are flaky (and currently skipped) with QtWebEngine
2017-07-08 11:12:43 +02:00
qtwebengine_mac_xfail: Tests which fail on macOS with QtWebEngine
2016-11-10 22:37:53 +01:00
js_prompt: Tests needing to display a javascript prompt
2016-09-07 20:26:41 +02:00
this: Used to mark tests during development
2017-02-08 09:41:55 +01:00
no_invalid_lines: Don't fail on unparseable lines in end2end tests
2017-03-29 07:56:07 +02:00
issue2478: Tests which are broken on Windows with QtWebEngine, https://github.com/qutebrowser/qutebrowser/issues/2478
2017-09-20 11:28:19 +02:00
fake_os: Fake utils.is_* to a fake operating system
2017-11-07 17:23:38 +01:00
unicode_locale: Tests which need an unicode locale to work
2015-07-19 21:55:55 +02:00
qt_log_level_fail = WARNING
qt_log_ignore =
^SpellCheck: .*
^SetProcessDpiAwareness failed: .*
2017-03-29 15:56:59 +02:00
^QWindowsWindow::setGeometry(Dp)?: Unable to set geometry .*
2015-07-24 14:56:00 +02:00
^QProcess: Destroyed while process .* is still running\.
2015-09-09 22:05:48 +02:00
^"Method "GetAll" with signature "s" on interface "org\.freedesktop\.DBus\.Properties" doesn't exist
2016-01-24 19:12:43 +01:00
^"Method \\"GetAll\\" with signature \\"s\\" on interface \\"org\.freedesktop\.DBus\.Properties\\" doesn't exist\\n"
2016-10-08 11:10:27 +02:00
^propsReply "Method \\"GetAll\\" with signature \\"s\\" on interface \\"org\.freedesktop\.DBus\.Properties\\" doesn't exist\\n"
^nmReply "Method \\"GetDevices\\" with signature \\"\\" on interface \\"org\.freedesktop\.NetworkManager\\" doesn't exist\\n"
^"Object path cannot be empty"
2015-10-02 10:59:11 +02:00
^virtual void QSslSocketBackendPrivate::transmit\(\) SSL write failed with error: -9805
^virtual void QSslSocketBackendPrivate::transmit\(\) SSLRead failed with: -9805
2015-10-05 08:22:53 +02:00
^Type conversion already registered from type .*
2015-11-02 08:09:07 +01:00
^QNetworkReplyImplPrivate::error: Internal problem, this method must only be called once\.
2015-11-03 06:38:48 +01:00
^QWaitCondition: Destroyed while threads are still waiting
2015-11-09 22:12:10 +01:00
^QXcbXSettings::QXcbXSettings\(QXcbScreen\*\) Failed to get selection owner for XSETTINGS_S atom
2015-12-15 17:53:36 +01:00
^QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to .*
2016-01-24 19:34:00 +01:00
^QObject::connect: Cannot connect \(null\)::stateChanged\(QNetworkSession::State\) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged\(QNetworkSession::State\)
2016-02-03 08:11:18 +01:00
^QXcbClipboard: Cannot transfer data, no data available
2016-07-12 09:39:43 +02:00
^load glyph failed
2016-08-16 19:56:49 +02:00
^Error when parsing the netrc file
2016-09-05 17:01:55 +02:00
^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 =
2017-02-08 15:27:45 +01:00
^QPainter::end: Painter ended with \d+ saved states
2017-09-14 17:32:09 +02:00
^QSslSocket: cannot resolve *
^Incompatible version of OpenSSL
2017-03-28 21:17:59 +02:00
^QQuickWidget::invalidateRenderControl could not make context current
2017-06-09 10:28:41 +02:00
^libpng warning: iCCP: known incorrect sRGB profile
2017-10-13 09:12:16 +02:00
^inotify_add_watch(".*") failed: "No space left on device"
2017-11-08 16:34:40 +01:00
^QSettings::value: Empty key passed
^Icon theme ".*" not found
2016-03-02 07:14:50 +01:00
xfail_strict = true