|
a/Allura/allura/websetup/bootstrap.py |
|
b/Allura/allura/websetup/bootstrap.py |
|
... |
|
... |
161 |
ThreadLocalORMSession.flush_all()
|
161 |
ThreadLocalORMSession.flush_all()
|
162 |
if asbool(conf.get('load_test_data')):
|
162 |
if asbool(conf.get('load_test_data')):
|
163 |
log.info('Loading test data')
|
163 |
log.info('Loading test data')
|
164 |
u_proj = M.Project.query.get(shortname='u/test-admin')
|
164 |
u_proj = M.Project.query.get(shortname='u/test-admin')
|
165 |
u_proj.new_subproject('sub1')
|
165 |
u_proj.new_subproject('sub1')
|
166 |
app = p0.install_app('hello_forge', 'hello')
|
|
|
167 |
app = p0.install_app('SVN', 'src')
|
166 |
app = p0.install_app('SVN', 'src')
|
168 |
app = p0.install_app('Git', 'src-git')
|
167 |
app = p0.install_app('Git', 'src-git')
|
169 |
app.config.options['type'] = 'git'
|
168 |
app.config.options['type'] = 'git'
|
170 |
app = p0.install_app('Hg', 'src-hg')
|
169 |
app = p0.install_app('Hg', 'src-hg')
|
171 |
app.config.options['type'] = 'hg'
|
170 |
app.config.options['type'] = 'hg'
|