From a8eb6a68a2ae130c8f89775a0a7fbf743cd55217 Mon Sep 17 00:00:00 2001 From: MonoPX Date: Wed, 26 Nov 2025 01:50:19 +0300 Subject: [PATCH] Update requirements-test.txt --- requirements/requirements-test.txt | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/requirements/requirements-test.txt b/requirements/requirements-test.txt index 5bd3077..29d4d01 100644 --- a/requirements/requirements-test.txt +++ b/requirements/requirements-test.txt @@ -1,11 +1,28 @@ +# Inherit common dependencies from the base requirements file. -r common.txt -pytest-cov==2.8.1 -pytest==5.4.1 -sure==1.4.11 -responses==0.10.12 -pytest-pep8==1.0.6 + +# --- TESTING AND COVERAGE --- +# Core testing framework (updated to modern version) +pytest>=8.0.0 +# Code coverage measurement tool for pytest +pytest-cov>=5.0.0 +# Assertion library (ensure compatibility with current Python/pytest versions) +sure>=1.4.11 +# Utility for mocking HTTP requests in tests +responses>=0.25.3 + +# --- CODE QUALITY AND FORMATTING --- +# Uncompromising code formatter (remove version pin to allow latest) black +# Comprehensive static code checker flake8 +# Flake8 plugin to integrate Black's formatting style rules +flake8-black + +# --- ENVIRONMENT AND PACKAGING TOOLS --- +# Tool for automating testing in multiple virtual environments (no version pin) tox +# Optional: Tox plugin for pyenv integration (may be unnecessary with modern Tox) tox-pyenv +# Standard Python wheel package builder (no version pin is common practice) wheel