tests: client type hint
This commit is contained in:
parent
a716df4beb
commit
f04db259c6
@ -4,6 +4,7 @@ from flask import Flask
|
||||
import pytest
|
||||
import importlib
|
||||
import yaml
|
||||
from flask.testing import FlaskClient
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@ -47,7 +48,7 @@ def flask_app(temp_config) -> Flask:
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def client(flask_app):
|
||||
def client(flask_app) -> FlaskClient:
|
||||
return flask_app.test_client()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user