Bootstrap Python rewrite skeleton
This commit is contained in:
1 parent
7818a3fb44
commit
31390882ef
72 files changed
+2273
-62
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import pytest
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
from app.main import create_app
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def app():
|
||||
return create_app()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def client(app):
|
||||
with TestClient(app) as test_client:
|
||||
yield test_client
|
||||
Reference in new issue
Block a user