From cce92212d2783fd6c82003e634bd3c9a014b4930 Mon Sep 17 00:00:00 2001 From: Andrey Epifancev Date: Sun, 4 Oct 2026 01:56:53 +0400 Subject: [PATCH] =?UTF-8?q?test:=20=D1=83=D0=B1=D1=80=D0=B0=D0=BD=20--capt?= =?UTF-8?q?ure=3Dno=20=D0=B8=D0=B7=20addopts=20pytest=20(M-2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Вывод loguru из негативных тестов больше не засоряет прогон: pytest перехватывает stderr и показывает его только для упавших тестов (секция «Captured stderr call»). Ни один тест не зависел от отключённого перехвата; полный прогон зелёный. Co-Authored-By: Claude Fable 5.1 --- api/pytest.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/api/pytest.ini b/api/pytest.ini index e6f0417..12c269f 100644 --- a/api/pytest.ini +++ b/api/pytest.ini @@ -14,7 +14,6 @@ addopts = --tb=short --strict-markers --verbose - --capture=no env = APP_ENV=test ENV_FILE=.env.test