Skip to content

Commit

Permalink
fix: pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
micha91 committed Jun 17, 2024
1 parent 84a140c commit fc19fcf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_client_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc19fcf

Please sign in to comment.