[patch] Adding functionality concerning setup of test environment for boulder-oracle-sprint-branch
|Reported by:||andreas.mock@…||Owned by:||adrian|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The setup of the regression test environment in the boulder-oracle-sprint branch always tries to create a new tablespace. The used statement is not feasible if working on 10g RAC having ASM. This patch gives the possibility to only create a user in a given database or to run the tests against a given user without creating anything. This should meet many scenarios. To use the functionality the user has to provide additional strings in settings.py. Keywords are:TEST_DATABASE_CREATE, TEST_USER_CREATE, TEST_DATABASE_NAME, TEST_DATABASE_USER, TEST_DATABASE_PASSWD, TEST_DATABASE_TBLSPACE, TEST_DATABASE_TBLSPACE_TMP. As soon as the variables TEST_DATABASE_CREATE and TEST_USER_CREATE exist, they can have a value which evaluates to False, which means that the corresponding part is not created. The other variables determine the names of the created database objects. If you do not set any of these variables the old behaviour should remain untouched.