Show More
@@ -79,7 +79,9 b' def load_environment(global_conf, app_co' | |||||
79 | from rhodecode.lib.utils import create_test_env, create_test_index |
|
79 | from rhodecode.lib.utils import create_test_env, create_test_index | |
80 | from rhodecode.tests import TESTS_TMP_PATH |
|
80 | from rhodecode.tests import TESTS_TMP_PATH | |
81 | create_test_env(TESTS_TMP_PATH, config) |
|
81 | create_test_env(TESTS_TMP_PATH, config) | |
82 | create_test_index(TESTS_TMP_PATH, config, True) |
|
82 | # set RC_WHOOSH_TEST_DISABLE=1 to disable whoosh index during tests | |
|
83 | if not int(os.environ.get('RC_WHOOSH_TEST_DISABLE', 0)): | |||
|
84 | create_test_index(TESTS_TMP_PATH, config, True) | |||
83 |
|
85 | |||
84 | # MULTIPLE DB configs |
|
86 | # MULTIPLE DB configs | |
85 | # Setup the SQLAlchemy database engine |
|
87 | # Setup the SQLAlchemy database engine |
General Comments 0
You need to be logged in to leave comments.
Login now