summaryrefslogtreecommitdiff
path: root/tests/conftest.py
AgeCommit message (Collapse)Author
2021-08-26Blanket PyQt5 -> PyQt6Florian Bruhin
2021-03-31flatpak: Skip download dispatcher testsFlorian Bruhin
2021-03-19relative_to instead of is_relativeLembrun
2021-03-19Merge branch 'master' into pathlib-/tests/conftest.pyLembrun
2021-03-19Added fspath = pathlib.Path(path)Lembrun
2021-03-17Drop libgl workaround entirelyFlorian Bruhin
2021-03-16added strLembrun
2021-03-11Changed joinpath to /Lembrun
2021-03-10Merge branch 'master' into pathlib-/tests/conftest.pyLembrun
2021-03-10Removed unused importLembrun
2021-03-09Simplify test_greasemonkey via js_tester fixtureFlorian Bruhin
2021-03-03Replaced os.path by pathlib equivalent in tests/conftest.pyLembrun
2021-02-25Rename utils.py to testutils.pyLembrun
2021-01-26doc: Switch URLs to httpsFlorian Bruhin
2021-01-20Bump copyright yearsFlorian Bruhin
Closes #6015
2021-01-11tests: Disable hypothesis fixture health checksFlorian Bruhin
2020-12-04Use existing ON_CI constantsFlorian Bruhin
2020-11-04old qt: Remove conditional and old testsFlorian Bruhin
2020-11-03tests: Use three-argument form of monkeypatchFlorian Bruhin
2020-10-16Get rid of GlobalMessageBridgeFlorian Bruhin
After f16b96aa28fc68c0b9caf15241067e51797dd604, the per-window MessageBridge wasn't really needed anymore - only for the statusbar's set_text method, which we can just call directly as well.
2020-07-29tests: Make some more plugins optionalFlorian Bruhin
2020-07-17tests: Suppress hypothesis "too slow" health check on CIFlorian Bruhin
2020-07-12ci: Use helper functions to begin/end GitHub Action groupsFlorian Bruhin
2020-07-12ci: Fix ::endgroup:: markerFlorian Bruhin
2020-07-10tests: Add GitHub Actions group markers for benchmark resultsFlorian Bruhin
2020-07-03tests: Disable yaml.CLoader check for nightly PythonFlorian Bruhin
2020-07-03tests: Widen disable-bpf-sandbox argumentFlorian Bruhin
This should fix tests with newer kernels/glibc's with Qt versions before 5.14.1.
2020-07-02tests: Improve checking of QUTE_BDD_WEBENGINEFlorian Bruhin
If we have QUTE_BDD_WEBENGINE=false set, we don't want to run with QtWebEngine.
2020-06-24ci: Switch from TRAVIS to CI env varsFlorian Bruhin
2020-05-29Refactor how we get OpenGL infoFlorian Bruhin
This allows us to get the version string in addition to the vendor. We also show that version string in the version info output. See #5313
2020-05-10mypy: Use explicit "type: ignore[...]" ignoresFlorian Bruhin
See #5368
2020-04-27Only apply libgl workaround once for testsFlorian Bruhin
This accidentally was a function-scoped instead of session-scoped fixture... It doesn't really make sense to do this again and again for every single test. This seems to result in a very big speedup for the unit tests: Together with the commit before this, the unit/ part of the testsuite takes 2:49 instead of 5:43 now...
2020-01-04Adjust copyrights for 2020Florian Bruhin
2019-12-09Re-enable renderer process tests on Qt 5.14Florian Bruhin
QTBUG-80085 has been fixed. This mostly reverts d8745237d9d8b31e5df6119ac05c3847eca0c06c. See #5013
2019-12-04Revert "tests: Suppress hypothesis too_slow health check if on CI"Florian Bruhin
This reverts commit 8b480410d2de6bf7f5205e100ac5cdc88e2fa910. The underlying issue was hopefully fixed in hypothesis 4.48.1: https://hypothesis.readthedocs.io/en/latest/changes.html#v4-48-1
2019-11-27Try to stabilize test_throttle on CIFlorian Bruhin
2019-11-24Enable new PyQt exit scheme in testsFlorian Bruhin
See #5017
2019-11-21tests: Suppress hypothesis too_slow health check if on CIFlorian Bruhin
2019-11-21tests: Remove issue3572 markerFlorian Bruhin
See #3572
2019-11-19Remove outdated issue2478 markerFlorian Bruhin
Looks like this works on Windows nowadays. See #2478
2019-11-19tests: Change some marks from skipif to xfailFlorian Bruhin
2019-11-19Skip renderProcessTerminated tests on Qt 5.14 for nowFlorian Bruhin
See #5013 This should allow us to start running Qt 5.14 tests on Travis.
2019-10-29Run mypy over tests as wellFlorian Bruhin
Rationale: https://twitter.com/codewithanthony/status/1188958327318794241
2019-09-02Use pathlib to find out test basedirFlorian Bruhin
This simplifies things a bit and also fixes an issue happening after https://github.com/pytest-dev/pytest/pull/5792 - presumably, the casing of the drive letter changed somehow.
2019-02-22Update copyright for 2019Jay Kamat
2018-11-28Remove now unneeded pylint suppressionsFlorian Bruhin
2018-10-16Add message_bridge fixtureFlorian Bruhin
2018-10-06tests: Apply libGL workaroundFlorian Bruhin
This probably fixes the tests for nvidia users: https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/941826 but also fixes issues on Qt 5.12: https://bugreports.qt.io/browse/QTBUG-70696 Fixes #4243
2018-09-13Avoid using qapp with autouse=TrueFlorian Bruhin
2018-09-13Register a qute://testdata/ scheme for unit testsFlorian Bruhin
This is more lightweight than running a webserver (probably about the same as file://), but allows us to use relative links in files.