diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-08-16 22:46:00 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-08-16 22:46:00 +0000 |
| commit | 49c438fd219c8bc1ee1a32b98ef3777abeb289f6 (patch) | |
| tree | 35a758196c68f476123152e43e09127b50a38ceb /docs | |
| parent | 89ebb6177df63d17de069dfc9304e83d9b829848 (diff) | |
Changed django.test.utils.create_test_db to return the name of the test database that was created
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/testing.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/testing.txt b/docs/testing.txt index c0d8ec8877..4e723a1020 100644 --- a/docs/testing.txt +++ b/docs/testing.txt @@ -988,6 +988,9 @@ a number of utility methods in the ``django.test.utils`` module. ``create_test_db()`` has the side effect of modifying ``settings.DATABASE_NAME`` to match the name of the test database. + New in the Django development version, this function returns the name of + the test database that it created. + ``destroy_test_db(old_database_name, verbosity=1)`` Destroys the database whose name is in the ``DATABASE_NAME`` setting and restores the value of ``DATABASE_NAME`` to the provided name. |
