From 9528c6d281b22da994966279988e147b5add8c07 Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Fri, 7 Jun 2024 10:28:43 +0200 Subject: [PATCH] Update dependencies and pytest configuration Added a new dependency "semver" and configured pytest to log at INFO level, run quietly, and target specific test paths. --- client/ayon_core/tests/lib/test_transcoding.py | 1 - pyproject.toml | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/client/ayon_core/tests/lib/test_transcoding.py b/client/ayon_core/tests/lib/test_transcoding.py index 3f46eb960e..47d9fc70d3 100644 --- a/client/ayon_core/tests/lib/test_transcoding.py +++ b/client/ayon_core/tests/lib/test_transcoding.py @@ -4,7 +4,6 @@ from pathlib import Path from ayon_core.lib.transcoding import get_image_info_metadata logger = logging.getLogger('test_transcoding') -logger.setLevel(logging.DEBUG) @pytest.mark.parametrize( diff --git a/pyproject.toml b/pyproject.toml index 2f30778519..bd3d48d53d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ ayon-python-api = "^1.0" ruff = "^0.3.3" pre-commit = "^3.6.2" codespell = "^2.2.6" +semver = "^3.0.2" [tool.ruff] @@ -119,3 +120,12 @@ quiet-level = 3 [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" + + +[tool.pytest.ini_options] +log_cli = true +log_cli_level = "INFO" +addopts = "-ra -q" +testpaths = [ + "client/ayon_core/tests" +]