From c4f4e637facc09d4185fb2a4079cdbd281e2959b Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Fri, 6 Oct 2023 12:13:10 +0300 Subject: [PATCH] [#101] add request to proper work Signed-off-by: Andrey Berezin --- pytest_tests/testsuites/special/test_logs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pytest_tests/testsuites/special/test_logs.py b/pytest_tests/testsuites/special/test_logs.py index 0998b6c..13085e3 100644 --- a/pytest_tests/testsuites/special/test_logs.py +++ b/pytest_tests/testsuites/special/test_logs.py @@ -11,7 +11,9 @@ class TestLogs(ClusterTestBase): @allure.title("Check logs from frostfs-testcases with marks '{request.config.option.markexpr}'") @pytest.mark.logs_after_session @pytest.mark.no_healthcheck - def test_logs_after_session(self, temp_directory: str, session_start_time: datetime): + def test_logs_after_session( + self, temp_directory: str, session_start_time: datetime, request: pytest.FixtureRequest + ): """ This test automatically added to any test run to check logs from cluster for critical errors.