From fc19fcfb4a171f6df000c3c43e1aa8ba87d3967a Mon Sep 17 00:00:00 2001 From: Michael Harbarth Date: Mon, 17 Jun 2024 07:44:12 +0200 Subject: [PATCH] fix: pylint --- tests/test_client_general.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/test_client_general.py b/tests/test_client_general.py index ac3b7a0..f607734 100644 --- a/tests/test_client_general.py +++ b/tests/test_client_general.py @@ -44,11 +44,9 @@ def test_check_non_existing_project( assert not client.project_exists() -def test_check_deprecation_warning( - caplog: pytest.LogCaptureFixture, -): +def test_check_deprecation_warning(): with warnings.catch_warnings(record=True) as w: - client = polarion_api.OpenAPIPolarionProjectClient( + polarion_api.OpenAPIPolarionProjectClient( "P", False, "http://localhost", "123" ) assert len(w) == 1