diff --git a/.config/requirements-test.txt b/.config/requirements-test.txt index 225c0a70e..3c0b46305 100644 --- a/.config/requirements-test.txt +++ b/.config/requirements-test.txt @@ -5,6 +5,7 @@ darglint flake8-docstrings libtmux pre-commit +pytest-env pytest-mock pytest-plus # implements PYTEST_REQPASS pytest-subtests diff --git a/pyproject.toml b/pyproject.toml index 5e2cfe44f..f6e8c8752 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -230,6 +230,11 @@ filterwarnings = [ "ignore::DeprecationWarning:ansible_runner" ] +[tool.pytest_env] +PYTEST_CHECK_TEST_DUPLICATE = 0 +PYTEST_CHECK_TEST_ID_REGEX = 0 +PYTEST_MAX_TEST_ID_LENGTH = 0 + [tool.ruff] fix = true line-length = 100 diff --git a/requirements.txt b/requirements.txt index a57cfc1cd..039f457fd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -93,8 +93,9 @@ pyflakes==3.1.0 pygments==2.17.2 pymdown-extensions==10.7 pytest==7.4.4 +pytest-env==1.1.3 pytest-mock==3.12.0 -pytest-plus==0.4.0 +pytest-plus==0.6.1 pytest-subtests==0.11.0 pytest-xdist==3.5.0 python-daemon==3.0.1