Skip to content

Commit 4930851

Browse files
committed
Add DatabaseCreation.destroy_test_db_connection_close_method
1 parent 83a9a14 commit 4930851

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

django_mongodb_backend/creation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44

55
class DatabaseCreation(BaseDatabaseCreation):
6+
destroy_test_db_connection_close_method = "close_pool"
7+
68
def _execute_create_test_db(self, cursor, parameters, keepdb=False):
79
# Close the connection (which may point to the non-test database) so
810
# that a new connection to the test database can be established later.

0 commit comments

Comments
 (0)