mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 23:22:57 +01:00
fix: mypy
This commit is contained in:
parent
7c99878576
commit
dbbe5bcf07
10 changed files with 35 additions and 24 deletions
2
tests/fixtures/fast_api_test_client.py
vendored
2
tests/fixtures/fast_api_test_client.py
vendored
|
|
@ -5,7 +5,7 @@ from private_gpt.launcher import create_app
|
|||
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 {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue