From 134703192d411bc08b17a5d06f1292c8c92a4ead Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sun, 14 Jan 2024 04:38:57 +0000 Subject: [PATCH] Change pytest settings - Use the 'prepend' import mode - Show all test statuses, save passed tests - Set log level to INFO --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index be86e48fc0f..dc5f374c74b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -198,7 +198,8 @@ disallow_any_generics = false [tool.pytest.ini_options] minversion = 6.0 addopts = [ - "--import-mode=importlib", + "-ra", + "--import-mode=prepend", # "--pythonwarnings=error", "--strict-config", "--strict-markers", @@ -210,6 +211,7 @@ filterwarnings = [ "ignore::DeprecationWarning:pyximport.pyximport", "ignore::ImportWarning:importlib._bootstrap", ] +log_cli_level = "INFO" markers = [ "apidoc", ]