Skip to content

Commit

Permalink
fixed ruff chekc
Browse files Browse the repository at this point in the history
  • Loading branch information
somashekhar161 committed Sep 24, 2024
1 parent cecec30 commit 80f15a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/fixtures/fast_api_test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from tests.fixtures.mock_injector import MockInjector


@pytest.fixture()
@pytest.fixture
def test_client(request: pytest.FixtureRequest, injector: MockInjector) -> TestClient:
if request is not None and hasattr(request, "param"):
injector.bind_settings(request.param or {})
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/ingest_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ def ingest_file(self, path: Path) -> IngestResponse:
return ingest_result


@pytest.fixture()
@pytest.fixture
def ingest_helper(test_client: TestClient) -> IngestHelper:
return IngestHelper(test_client)
2 changes: 1 addition & 1 deletion tests/fixtures/mock_injector.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def get(self, interface: type[T]) -> T:
return self.test_injector.get(interface)


@pytest.fixture()
@pytest.fixture
def injector() -> MockInjector:
return MockInjector()
2 changes: 1 addition & 1 deletion tests/server/ingest/test_local_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from fastapi.testclient import TestClient


@pytest.fixture()
@pytest.fixture
def file_path() -> str:
return "test.txt"

Expand Down

0 comments on commit 80f15a1

Please sign in to comment.