Fixed #1216 -- Noted in docs/contributing.txt 'Unit tests' section that the user needs permission to create a database
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
cca0e7346d
commit
87416a9c3c
|
@ -247,8 +247,10 @@ To run the tests, ``cd`` to the ``tests/`` directory and type::
|
|||
|
||||
Yes, the unit tests need a settings module, but only for database connection
|
||||
info -- the ``DATABASE_ENGINE``, ``DATABASE_USER`` and ``DATABASE_PASSWORD``.
|
||||
|
||||
The unit tests will not touch your database; they create a new database, called
|
||||
``django_test_db``, which is deleted when the tests are finished.
|
||||
``django_test_db``, which is deleted when the tests are finished. This means
|
||||
your user account needs permission to execute ``CREATE DATABASE``.
|
||||
|
||||
Requesting features
|
||||
===================
|
||||
|
|
Loading…
Reference in New Issue