Commit Graph

178 Commits

Author SHA1 Message Date
Florian Bruhin 080ce36451 tests: Update warning ignores 2023-06-16 11:50:07 +02:00
Florian Bruhin 15e7d5c6b1 py312: Ignore pytest-benchmark deprecation warning
See #7727 and https://github.com/ionelmc/pytest-benchmark/issues/240
2023-06-09 15:02:30 +02:00
Florian Bruhin 2c61ec38b8 py312: Ignore pytest ast warnings
See https://github.com/pytest-dev/pytest/issues/10977
and #7727
2023-06-08 17:41:10 +02:00
Florian Bruhin e7723c9f25 Fix regex 2023-05-31 15:49:41 +02:00
Florian Bruhin 68e61a239d ci: Ignore spurious QPainter messages 2023-05-31 12:08:10 +02:00
Florian Bruhin 49048489c3 Revert "pytest: Ignore Python 3.12 addDuration warning"
This reverts commit ee40046faf.
2023-04-14 21:02:47 +02:00
Florian Bruhin ee40046faf pytest: Ignore Python 3.12 addDuration warning
See https://github.com/pytest-dev/pytest/issues/10875
2023-04-11 16:29:50 +02:00
Florian Bruhin 72c38a8e19 tests: Remove old pytest-instafail/hypothesis filterwarnings 2023-04-03 08:22:45 +02:00
Florian Bruhin 8227b91d28 tests: Update FIXME comment
PyQt insists using the deprecated signal overload, seemingly nothing we can do
to change that:
https://www.riverbankcomputing.com/pipermail/pyqt/2023-March/045215.html

See #7624
2023-03-17 20:08:54 +01:00
Florian Bruhin 2d45f6f002 tests: Ignore more Qt 6.5 / debug build messages
See #7624
2023-03-17 17:27:29 +01:00
toofar 2d66466194 Merge branch 'master' into qt6-v2
Just a few conflicts around CI and dependencies.
2022-11-20 15:48:00 +13:00
Florian Bruhin 1f5ad8abfb Remove pytest-bdd deprecation ignore 2022-11-08 16:20:46 +01:00
Florian Bruhin 1387c999fa Skip problematic QtWebKit tests with OpenSSL 3
See https://github.com/cherrypy/cheroot/issues/517 and #7467
2022-11-08 16:17:31 +01:00
Florian Bruhin bc225557a5 Adjust warnings and changelog URLs for new pytest 2022-10-31 08:19:25 +01:00
Florian Bruhin ef486aa263 Remove unneeded old log ignores 2022-08-23 18:31:41 +02:00
Florian Bruhin de593e6a8c tests: Add some marks for Qt 5 / Qt 6 2022-08-23 18:31:41 +02:00
Florian Bruhin c5a51eb0bc Drop Qt < 5.15
Fixes #7091

TODO: Add changelog
2022-08-23 18:31:41 +02:00
Florian Bruhin 323b64c669 ignore hypothesis warnings 2022-04-26 17:14:38 +02:00
Florian Bruhin 9fbaba228c Ignore certifi deprecation warning
See https://github.com/certifi/python-certifi/issues/170
2022-04-26 17:14:38 +02:00
Florian Bruhin 7535ae3fd8 Ignore Python 3.10 distutils deprecation warning
See https://github.com/ionelmc/python-hunter/issues/97
2021-05-05 20:04:48 +02:00
Florian Bruhin e0657a550a tests: Ignore new Python 3.10.0a7 ImportWarnings
https://github.com/pypa/setuptools/pull/2517
https://github.com/pypa/setuptools/pull/2523
(something in tox/virtualenv probably uses an older setuptools...)

https://github.com/benjaminp/six/pull/352 (not released yet)
2021-04-07 22:30:23 +02:00
Florian Bruhin 40c72f849d flatpak: Skip download dispatcher tests 2021-03-31 13:10:09 +02:00
Florian Bruhin 54a0dc1e38 notifications: Replace @qtwebengine_py_5_15 by @pyqtwebengine>=5.15 2021-03-25 15:41:56 +01:00
Florian Bruhin 2f592f7ce6 Merge remote-tracking branch 'origin/pr/5457' into dev 2021-03-24 14:12:36 +01:00
Florian Bruhin 0a38fff4c6 Simplify test_greasemonkey via js_tester fixture 2021-03-09 18:42:19 +01:00
Florian Bruhin 4b8c9336a3 Add marker to pytest.ini 2021-01-27 14:28:05 +01:00
Florian Bruhin 62687b1f82 tests: Ignore SixMetaPathImporter warning
Seems to be raised when importing six (via tldextract/requests/urllib)
on Python 3.10: https://github.com/benjaminp/six/issues/341

See #6068
2021-01-26 20:44:22 +01:00
Florian Bruhin 8760dc1b17 tests: Disable hypothesis fixture health checks 2021-01-11 11:12:53 +01:00
freddii c8004e4653 fixed typing mistake 2020-12-28 20:21:32 +01:00
Florian Bruhin 3126ce6686 tests: Warn about processes which don't exit cleanly 2020-11-10 18:57:23 +01:00
Florian Bruhin cc8de06082 ci: Update Python/Qt versions 2020-11-04 18:30:04 +01:00
Florian Bruhin 160831c5bd old qt: Remove conditional and old tests 2020-11-04 18:30:04 +01:00
Florian Bruhin 2b8b71a82d tests: Ignore 'could not de-queue request' error globally
See #5787
2020-10-11 16:23:29 +02:00
Florian Bruhin 3abfd78c25 Fix some a/an spelling mistakes 2020-09-06 16:37:59 +02:00
Florian Bruhin e02e262a04 tests: Skip pdf.js disabled test on QtWebKit with PDF image plugin
Since Qt 5.15, QtWebEngine comes with Qt PDF as TP:
https://wiki.qt.io/New_Features_in_Qt_5.15#Technology_Preview_Modules

This also includes a new PDF image plugin in
/usr/lib/qt/plugins/imageformats/libqpdf.so. Due to that, QtWebKit now displays the
PDF's first page as image rather than triggering a download.

See https://github.com/qtwebkit/qtwebkit/issues/1013

Thus, detect this condition (both QtWebKit and QtWebEngine installed) and skip the test
in that scenario.
2020-08-05 15:01:21 +02:00
Florian Bruhin 41bcada133 Merge branch 'master' into pr/5457 2020-07-31 14:35:59 +02:00
Florian Bruhin 7cae34f829 pytest: Set required_plugins 2020-07-29 11:30:35 +02:00
Florian Bruhin 1c26921686 pytest: Use new strict flags 2020-07-29 10:32:46 +02:00
Ash 2ba6cce9eb Merge branch 'master' into dbus-notify 2020-07-08 17:33:59 -07:00
Florian Bruhin a6817bd086 tests: Fix JS header tests
This is a follow-up to f0eed465ab
See #4657
2020-06-19 16:21:03 +02:00
Ash 77d4d3f4d4 Add support for onclose callbacks on notifications. 2020-06-03 23:43:26 -07:00
Florian Bruhin 612e86f98e tests: Adjust warning filter for changed hypothesis warning
See https://github.com/HypothesisWorks/hypothesis/pull/2387
and https://github.com/HypothesisWorks/hypothesis/issues/2370
2020-04-20 23:40:54 +02:00
Florian Bruhin b2f48b5839 Upgrade to pytest 5.4
This reverts commit c7b0023dcd.
There's a new pytest-rerunfailures version out now.
2020-03-21 17:51:18 +01:00
Florian Bruhin c7b0023dcd Revert "Upgrade to pytest 5.4"
This reverts commit 738d0ab875.

Probably a bad idea before this is fixed:
https://github.com/pytest-dev/pytest-rerunfailures/issues/103
2020-03-12 22:42:18 +01:00
Florian Bruhin 738d0ab875 Upgrade to pytest 5.4
- Include pygments as dependency to enable code highlighting
- Remove -rfEw from options because -rfE is now the default and w had no
  effect.
2020-03-12 22:34:31 +01:00
Florian Bruhin f33e15aaca Ignore hypothesis/pytest warning for now
See https://github.com/HypothesisWorks/hypothesis/issues/2370
2020-03-12 13:16:52 +01:00
Florian Bruhin 02c3f02edc Re-enable renderer process tests on Qt 5.14
QTBUG-80085 has been fixed.
This mostly reverts d8745237d9.
See #5013
2019-12-09 00:38:10 +01:00
Florian Bruhin 8cbf6305e9 tests: Remove issue3572 marker
See #3572
2019-11-21 14:33:04 +01:00
Florian Bruhin c089950ff2 Adjust message filters for Qt 5.14 debug build
See #5013
2019-11-21 13:46:22 +01:00
Florian Bruhin 7bfc56c0d9 Remove outdated issue2478 marker
Looks like this works on Windows nowadays.
See #2478
2019-11-19 16:40:48 +01:00