|
@ -47,6 +47,8 @@ def get_client(request: pytest.FixtureRequest): |
|
|
with TestClient(mod.app) as c: |
|
|
with TestClient(mod.app) as c: |
|
|
yield c |
|
|
yield c |
|
|
|
|
|
|
|
|
|
|
|
mod.engine.dispose() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def test_crud_app(client: TestClient): |
|
|
def test_crud_app(client: TestClient): |
|
|
# TODO: this warns that SQLModel.from_orm is deprecated in Pydantic v1, refactor |
|
|
# TODO: this warns that SQLModel.from_orm is deprecated in Pydantic v1, refactor |
|
|