Opened 11 years ago
Last modified 11 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 )
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.
Note:
See TracTickets
for help on using tickets.