Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmacias95 committed Dec 2, 2024
1 parent 058a14f commit 526eab1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def test_wsgi_app(httpserver, monkeypatch):
assert response.json == expected_response


@pytest.fixture
@pytest.fixture(name='private_scan')
def private_scan_mocks(httpserver):
"""Fixture for mocking private scan API calls."""
upload_url = f"http://{httpserver.host}:{httpserver.port}/upload"
Expand Down Expand Up @@ -572,7 +572,7 @@ def verify_analysis(analysis, status="queued"):
assert getattr(analysis, "status") == status


def test_scan_file_private(httpserver, private_scan_mocks):
def test_scan_file_private(httpserver, private_scan): # pylint: disable=unused-argumen
"""Test synchronous private file scanning."""
with new_client(httpserver) as client:
with io.StringIO("test file content") as f:
Expand All @@ -581,7 +581,7 @@ def test_scan_file_private(httpserver, private_scan_mocks):


@pytest.mark.asyncio
async def test_scan_file_private_async(httpserver, private_scan_mocks):
async def test_scan_file_private_async(httpserver, private_scan): # pylint: disable=unused-argumen
"""Test asynchronous private file scanning."""
async with new_client(httpserver) as client:
with io.StringIO("test file content") as f:
Expand Down

0 comments on commit 526eab1

Please sign in to comment.