first
This commit is contained in:
8
tests/conftest.py
Normal file
8
tests/conftest.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from fastapi.testclient import TestClient
|
||||
import pytest
|
||||
from personal_info.app import create_app
|
||||
|
||||
@pytest.fixture()
|
||||
def app_client():
|
||||
app = create_app()
|
||||
yield TestClient(app)
|
||||
Reference in New Issue
Block a user