254 | | * The names of such tablespaces are derived from the value f the ``NAME`` var (or from the ``TEST_NAME`` var that overrides ``NAME`` for these purposes). |
255 | | * But their names can also be overridden by the ``TEST_TBLSPACE`` and ``TEST_TBLSPACE_TMP`` vars, respectively. |
256 | | * For these tablespaces, an user is created beforehand, that has full ownership and control over them. |
257 | | * The username of such user isn't the same as the ``USER`` var, is based on it with a prefix added. Can be overridden with the value of the ``TEST_USER`` var. |
258 | | * The password assigned to that user is hardcoded, but can be overridden by the value of the ``TEST_PASSWD`` var. |
259 | | * The tablespaces and the user are removed afterwards. |
| 256 | * The names of such tablespaces are derived from the value of the ``NAME`` var (the data tablespace gets a name prefixed by ``'test_'`` and the temporary tablespace one prefixed by ``'test_'`` and suffixed by ``'_tmp'``. |
| 257 | * But their names can also be overridden by the ``'TEST_TBLSPACE'`` and ``'TEST_TBLSPACE_TMP'`` vars, respectively. |
| 258 | * For these tablespaces, a temporary user is created beforehand that has full ownership and control over them. |
| 259 | * The username of such user isn't the same as the ``'USER'`` var, is derived from it with a prefix added. It can be overridden with the value of the ``'TEST_USER'`` var. |
| 260 | * The password assigned to that user is hardcoded, but can be overridden by the value of the ``'TEST_PASSWD'`` var. |
| 261 | * The tablespaces and the user are removed when test execution finishes. |
261 | | * ``TEST_CREATE`` |
262 | | * ``TEST_USER_CREATE`` |
263 | | |
264 | | In summary, Oracle has the following extra vars when compard with other Django DB backends: ``TEST_TBLSPACE``, ``TEST_TBLSPACE_TMP``, ``TEST_USER``, ``TEST_PASSWD``, `TEST_CREATE`` and ``TEST_USER_CREATE`` |
| 263 | |
| 264 | * ``'TEST_CREATE'`` -- Skips creation and deletion of the tablespaces |
| 265 | * ``'TEST_USER_CREATE'`` -- Skip creation and deletion of the temporary user |
| 266 | |
| 267 | In summary, Oracle has the following extra ``DATABASES`` vars when compared with other Django DB backends: ``'TEST_TBLSPACE'``, ``'TEST_TBLSPACE_TMP'``, ``'TEST_USER'``, ``'TEST_PASSWD'``, ``'TEST_CREATE'`` and ``'TEST_USER_CREATE'``. |