summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/tools/pytest.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/tests/tools/pytest.ini
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/tools/pytest.ini')
-rw-r--r--testing/web-platform/tests/tools/pytest.ini28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/pytest.ini b/testing/web-platform/tests/tools/pytest.ini
new file mode 100644
index 0000000000..bf58dc409a
--- /dev/null
+++ b/testing/web-platform/tests/tools/pytest.ini
@@ -0,0 +1,28 @@
+[pytest]
+norecursedirs = .* {arch} *.egg third_party
+xfail_strict = true
+addopts = --strict-markers
+markers =
+ slow: marks tests as slow (deselect with '-m "not slow"')
+ remote_network
+filterwarnings =
+ error
+ # ignore importlib changes which six is unlikely to ever adopt
+ ignore:_SixMetaPathImporter.exec_module\(\) not found; falling back to load_module\(\):ImportWarning
+ ignore:_SixMetaPathImporter.find_spec\(\) not found; falling back to find_module\(\):ImportWarning
+ # ignore mozinfo deprecation warnings
+ ignore:distutils Version classes are deprecated\. Use packaging\.version instead\.:DeprecationWarning:mozinfo
+ # ingore mozinfo's dependency on distro
+ ignore:distro\.linux_distribution\(\) is deprecated\. It should only be used as a compatibility shim with Python's platform\.linux_distribution\(\)\. Please use distro\.id\(\), distro\.version\(\) and distro\.name\(\) instead\.:DeprecationWarning
+ # ignore mozversion deprecation warnings
+ ignore:This method will be removed in .*\.\s+Use 'parser\.read_file\(\)' instead\.:DeprecationWarning:mozversion
+ # ignore mozversion not cleanly closing .ini files
+ ignore:unclosed file.*\.ini:ResourceWarning:mozversion
+ # https://github.com/web-platform-tests/wpt/issues/39366
+ always:The metaschema specified by \$schema was not found\. Using the latest draft to validate, but this will raise an error in the future\.:DeprecationWarning
+ # https://github.com/web-platform-tests/wpt/issues/39359
+ always:'cgi' is deprecated and slated for removal in Python 3:DeprecationWarning
+ # https://github.com/web-platform-tests/wpt/issues/39373
+ always:the imp module is deprecated in favour of importlib:DeprecationWarning
+ # https://github.com/web-platform-tests/wpt/issues/39827
+ always:pkg_resources is deprecated as an API:DeprecationWarning