Show More
@@ -14,6 +14,7 b' import os' | |||||
14 | import shutil |
|
14 | import shutil | |
15 | import logging |
|
15 | import logging | |
16 | from os.path import join as jn |
|
16 | from os.path import join as jn | |
|
17 | from os.path import dirname as dn | |||
17 |
|
18 | |||
18 | from tempfile import _RandomNameSequence |
|
19 | from tempfile import _RandomNameSequence | |
19 | from subprocess import Popen, PIPE |
|
20 | from subprocess import Popen, PIPE | |
@@ -31,7 +32,8 b' from rhodecode.lib.auth import get_crypt' | |||||
31 | from rhodecode.tests import TESTS_TMP_PATH, NEW_HG_REPO, HG_REPO |
|
32 | from rhodecode.tests import TESTS_TMP_PATH, NEW_HG_REPO, HG_REPO | |
32 | from rhodecode.config.environment import load_environment |
|
33 | from rhodecode.config.environment import load_environment | |
33 |
|
34 | |||
34 | conf = appconfig('config:development.ini', relative_to='./../../') |
|
35 | rel_path = dn(dn(dn(os.path.abspath(__file__)))) | |
|
36 | conf = appconfig('config:development.ini', relative_to=rel_path) | |||
35 | load_environment(conf.global_conf, conf.local_conf) |
|
37 | load_environment(conf.global_conf, conf.local_conf) | |
36 |
|
38 | |||
37 | add_cache(conf) |
|
39 | add_cache(conf) |
General Comments 0
You need to be logged in to leave comments.
Login now