From f702b50b6ac6cb2e1e0e848a629a623f323c9de2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 24 Jun 2023 19:38:33 +0200 Subject: Merging upstream version 2.1.2~dev0+20230529. Signed-off-by: Daniel Baumann --- pyproject.toml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 67ebe0a..0449619 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,3 +9,22 @@ skip-string-normalization = true [tool.isort] profile = "black" + +[tool.pytest.ini_options] +# Hide logged warnings and errors in test output. +log_cli_level = "CRITICAL" +addopts = "--basetemp=_pytest_temp" +markers = [ + "todo: Tests that are yet to be written", + "gtkui: Tests for GTK code", + "security: Security related tests", + "slow: Tests that are particularly slow", + "internet: Tests that require internet connectivity", +] +filterwarnings = [ + "ignore::DeprecationWarning:gi", + "ignore::DeprecationWarning:twisted.internet.gireactor", + "ignore:twisted.web.resource.*:DeprecationWarning", + "ignore:Using readBody.*:DeprecationWarning", + "ignore:resume_data is deprecated.*:DeprecationWarning:deluge.core.alertmanager", +] -- cgit v1.2.3