Opened 10 years ago

Last modified 10 years ago

#23652 closed Bug

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

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 (last modified by Bjarkias)

When using connection.creation.destroy_test_db(old_db_name) the settings.DATABASES default name 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 (1)

comment:1 by Bjarkias, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top