10 lines
153 B
Python
10 lines
153 B
Python
from fastapi.testclient import TestClient
|
|
|
|
from app import app
|
|
|
|
client = TestClient(app=app)
|
|
|
|
|
|
def test_app():
|
|
assert isinstance(client, TestClient)
|