Skip to content

Commit

Permalink
Close pymongo db properly
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelhwilliams committed Sep 24, 2024
1 parent 829c8e7 commit 2014eec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flask_admin/tests/pymongo/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ def db():
client = MongoClient()
db = client.tests
yield db
client.close()


@pytest.fixture
Expand Down

0 comments on commit 2014eec

Please sign in to comment.