tests: client type hint

This commit is contained in:
Dmitry Belyaev 2021-09-23 12:04:36 +03:00
parent a716df4beb
commit f04db259c6
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3
1 changed files with 2 additions and 1 deletions

View File

@ -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()