From 140cf4427b0fbf5dc65b747ab1be191096317334 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Sun, 31 Jul 2022 11:23:27 +0200 Subject: [PATCH] test: enable logs when running pytest (#2008) --- analyzer/pyproject.toml | 4 ++++ api-client/pyproject.toml | 4 ++++ playout/pyproject.toml | 4 ++++ shared/pyproject.toml | 4 ++++ worker/pyproject.toml | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/analyzer/pyproject.toml b/analyzer/pyproject.toml index 654bfa25f..6029f1899 100644 --- a/analyzer/pyproject.toml +++ b/analyzer/pyproject.toml @@ -6,6 +6,10 @@ disable = [ "missing-module-docstring", ] +[tool.pytest.ini_options] +log_cli = true +log_cli_level = "DEBUG" + [build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" diff --git a/api-client/pyproject.toml b/api-client/pyproject.toml index 654bfa25f..6029f1899 100644 --- a/api-client/pyproject.toml +++ b/api-client/pyproject.toml @@ -6,6 +6,10 @@ disable = [ "missing-module-docstring", ] +[tool.pytest.ini_options] +log_cli = true +log_cli_level = "DEBUG" + [build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" diff --git a/playout/pyproject.toml b/playout/pyproject.toml index 654bfa25f..6029f1899 100644 --- a/playout/pyproject.toml +++ b/playout/pyproject.toml @@ -6,6 +6,10 @@ disable = [ "missing-module-docstring", ] +[tool.pytest.ini_options] +log_cli = true +log_cli_level = "DEBUG" + [build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" diff --git a/shared/pyproject.toml b/shared/pyproject.toml index d33fda2f3..8d28fdd91 100644 --- a/shared/pyproject.toml +++ b/shared/pyproject.toml @@ -12,6 +12,10 @@ disallow_incomplete_defs= true disallow_untyped_calls= true disallow_untyped_defs= true +[tool.pytest.ini_options] +log_cli = true +log_cli_level = "DEBUG" + [build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" diff --git a/worker/pyproject.toml b/worker/pyproject.toml index 654bfa25f..6029f1899 100644 --- a/worker/pyproject.toml +++ b/worker/pyproject.toml @@ -6,6 +6,10 @@ disable = [ "missing-module-docstring", ] +[tool.pytest.ini_options] +log_cli = true +log_cli_level = "DEBUG" + [build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta"