##// END OF EJS Templates
tests: move test data to top level 'data' folder - make grepping in kallithea/ easier...
Mads Kiilerich -
r6001:9358211e default
parent child Browse files
Show More
@@ -16,7 +16,6 b' syntax: regexp'
16 ^docs/build/
16 ^docs/build/
17 ^docs/_build/
17 ^docs/_build/
18 ^data$
18 ^data$
19 ^kallithea/tests/data$
20 ^sql_dumps/
19 ^sql_dumps/
21 ^\.settings$
20 ^\.settings$
22 ^\.project$
21 ^\.project$
@@ -29,3 +28,4 b' syntax: regexp'
29 ^fabfile.py
28 ^fabfile.py
30 ^\.idea$
29 ^\.idea$
31 ^\.cache$
30 ^\.cache$
31 /__pycache__$
@@ -179,8 +179,10 b' static_files = true'
179 ## Available Languages:
179 ## Available Languages:
180 ## cs de fr hu ja nl_BE pl pt_BR ru sk zh_CN zh_TW
180 ## cs de fr hu ja nl_BE pl pt_BR ru sk zh_CN zh_TW
181 lang =
181 lang =
182 cache_dir = %(here)s/data
182 #cache_dir = %(here)s/data
183 index_dir = %(here)s/data/index
183 cache_dir = %(here)s/../../data/test/cache
184 #index_dir = %(here)s/data/index
185 index_dir = %(here)s/../../data/test/index
184
186
185 ## perform a full repository scan on each server start, this should be
187 ## perform a full repository scan on each server start, this should be
186 ## set to false after first startup, to allow faster server restarts.
188 ## set to false after first startup, to allow faster server restarts.
@@ -188,7 +190,8 b' index_dir = %(here)s/data/index'
188 initial_repo_scan = true
190 initial_repo_scan = true
189
191
190 ## uncomment and set this path to use archive download cache
192 ## uncomment and set this path to use archive download cache
191 archive_cache_dir = %(here)s/tarballcache
193 #archive_cache_dir = %(here)s/tarballcache
194 archive_cache_dir = %(here)s/../../data/test/tarballcache
192
195
193 ## change this to unique ID for security
196 ## change this to unique ID for security
194 app_instance_uuid = test
197 app_instance_uuid = test
@@ -340,8 +343,10 b' celery.always.eager = false'
340 ### BEAKER CACHE ####
343 ### BEAKER CACHE ####
341 ####################################
344 ####################################
342
345
343 beaker.cache.data_dir = %(here)s/data/cache/data
346 #beaker.cache.data_dir = %(here)s/data/cache/data
344 beaker.cache.lock_dir = %(here)s/data/cache/lock
347 beaker.cache.data_dir = %(here)s/../../data/test/cache/data
348 #beaker.cache.lock_dir = %(here)s/data/cache/lock
349 beaker.cache.lock_dir = %(here)s/../../data/test/cache/lock
345
350
346 beaker.cache.regions = short_term,long_term,sql_cache_short
351 beaker.cache.regions = short_term,long_term,sql_cache_short
347
352
@@ -55,6 +55,11 b' ini_files = ['
55 'show_revision_number': 'true',
55 'show_revision_number': 'true',
56 'beaker.cache.sql_cache_short.expire': '1',
56 'beaker.cache.sql_cache_short.expire': '1',
57 'beaker.session.secret': '{74e0cd75-b339-478b-b129-07dd221def1f}',
57 'beaker.session.secret': '{74e0cd75-b339-478b-b129-07dd221def1f}',
58 'cache_dir': '%(here)s/../../data/test/cache',
59 'index_dir': '%(here)s/../../data/test/index',
60 'archive_cache_dir': '%(here)s/../../data/test/tarballcache',
61 'beaker.cache.data_dir': '%(here)s/../../data/test/cache/data',
62 'beaker.cache.lock_dir': '%(here)s/../../data/test/cache/lock',
58 'sqlalchemy.db1.url': 'sqlite:///%(here)s/kallithea_test.sqlite',
63 'sqlalchemy.db1.url': 'sqlite:///%(here)s/kallithea_test.sqlite',
59 },
64 },
60 '[logger_root]': {
65 '[logger_root]': {
General Comments 0
You need to be logged in to leave comments. Login now