##// END OF EJS Templates
fixed edge case in tests when we run them from virtualmachine and not as owner of files
marcink -
r3501:3d5f4d2f beta
parent child Browse files
Show More
@@ -7,6 +7,7 b' import time'
7 7 import hashlib
8 8 import tempfile
9 9 import datetime
10 import shutil
10 11 from rhodecode.tests import *
11 12 from utils import get_normalized_path
12 13 from os.path import join as jn
@@ -58,5 +59,6 b' THIS = os.path.abspath(os.path.dirname(_'
58 59
59 60 PACKAGE_DIR = os.path.abspath(os.path.join(
60 61 os.path.dirname(__file__), '..'))
61
62 TEST_USER_CONFIG_FILE = jn(THIS, 'aconfig')
62 _dest = jn(TESTS_TMP_PATH,'aconfig')
63 shutil.copy(jn(THIS, 'aconfig'), _dest)
64 TEST_USER_CONFIG_FILE = _dest
General Comments 0
You need to be logged in to leave comments. Login now