We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8692805 commit e85bfdfCopy full SHA for e85bfdf
2 files changed
tests/test_tutorial/test_sql_databases/test_tutorial001.py
@@ -45,6 +45,8 @@ def get_client(request: pytest.FixtureRequest):
45
46
with TestClient(mod.app) as c:
47
yield c
48
+ # Clean up connection explicitely to avoid resource warning
49
+ mod.engine.dispose()
50
51
52
def test_crud_app(client: TestClient):
tests/test_tutorial/test_sql_databases/test_tutorial002.py
0 commit comments