Documented some Oracle-specific test settings.

Patch from aaugustin that should help people with specific testing
requirements for Oracle set things up in their preferred way. The
settings have always existed, but now they are documented.

Fixes #16478.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2011-08-22 06:35:52 +00:00
parent 5994a7442d
commit f77666a4af
1 changed files with 61 additions and 1 deletions

View File

@ -580,6 +580,18 @@ test database will use the name ``'test_' + DATABASE_NAME``.
See :doc:`/topics/testing`. See :doc:`/topics/testing`.
.. setting:: TEST_CREATE
TEST_CREATE
~~~~~~~~~~~
Default: ``True``
This is an Oracle-specific setting.
If it is set to ``False``, the test tablespaces won't be automatically created
at the beginning of the tests and dropped at the end.
.. setting:: TEST_USER .. setting:: TEST_USER
TEST_USER TEST_USER
@ -590,7 +602,55 @@ Default: ``None``
This is an Oracle-specific setting. This is an Oracle-specific setting.
The username to use when connecting to the Oracle database that will be used The username to use when connecting to the Oracle database that will be used
when running tests. when running tests. If not provided, Django will use ``'test_' + USER``.
.. setting:: TEST_CREATE_USER
TEST_CREATE_USER
~~~~~~~~~~~~~~~~
Default: ``True``
This is an Oracle-specific setting.
If it is set to ``False``, the test user won't be automatically created at the
beginning of the tests and dropped at the end.
.. setting:: TEST_PASSWD
TEST_PASSWD
~~~~~~~~~~~
Default: ``None``
This is an Oracle-specific setting.
The password to use when connecting to the Oracle database that will be used
when running tests. If not provided, Django will use a hardcoded default value.
.. setting:: TEST_TBLSPACE
TEST_TBLSPACE
~~~~~~~~~~~~~
Default: ``None``
This is an Oracle-specific setting.
The name of the tablespace that will be used when running tests. If not
provided, Django will use ``'test_' + NAME``.
.. setting:: TEST_TBLSPACE_TMP
TEST_TBLSPACE_TMP
~~~~~~~~~~~~~~~~~
Default: ``None``
This is an Oracle-specific setting.
The name of the temporary tablespace that will be used when running tests. If
not provided, Django will use ``'test_' + NAME + '_temp'``.
.. setting:: DATABASE_ROUTERS .. setting:: DATABASE_ROUTERS