Edge-Seven
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
2 deletions
-
tests/test_tutorial/test_sql_databases/test_tutorial001.py
-
tests/test_tutorial/test_sql_databases/test_tutorial002.py
|
|
@ -45,7 +45,7 @@ def get_client(request: pytest.FixtureRequest): |
|
|
|
|
|
|
|
|
with TestClient(mod.app) as c: |
|
|
with TestClient(mod.app) as c: |
|
|
yield c |
|
|
yield c |
|
|
# Clean up connection explicitely to avoid resource warning |
|
|
# Clean up connection explicitly to avoid resource warning |
|
|
mod.engine.dispose() |
|
|
mod.engine.dispose() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -45,7 +45,7 @@ def get_client(request: pytest.FixtureRequest): |
|
|
|
|
|
|
|
|
with TestClient(mod.app) as c: |
|
|
with TestClient(mod.app) as c: |
|
|
yield c |
|
|
yield c |
|
|
# Clean up connection explicitely to avoid resource warning |
|
|
# Clean up connection explicitly to avoid resource warning |
|
|
mod.engine.dispose() |
|
|
mod.engine.dispose() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|