Opened 10 years ago

Last modified 10 years ago

#23652 closed Bug

Database name is not reset after destroying test database — at Initial Version

Reported by: Bjarkias Owned by: nobody
Component: Testing framework Version: 1.7
Severity: Normal Keywords: test destroy_test_db
Cc: Claude Paroz Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When using connection.creation.destroy_test_db(old_db_name) the settings.DATABASESdefaultNAME isn't reset to old_db_name like described in in docshttps://docs.djangoproject.com/en/1.6/topics/testing/advanced/#django.db.connection.creation.destroy_test_db.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top