db: Set rhodecode.is_test in make_pyramid_app instead of make_app
Based on this setting the crypto backend is selected: brypt or md5. During tests md5 is used to sppedup test execution. We have to move this setting up to the pyramid layer otherwise the test DB init will use bcrypt and the tests use md5. This will result in test users not able to login.
This commit is contained in:
parent
c58dd1646e
commit
7fefcc4ffb
2 changed files with 3 additions and 1 deletions
|
|
@ -62,7 +62,6 @@ def load_environment(global_conf, app_conf, initial=False,
|
|||
"""
|
||||
config = PylonsConfig()
|
||||
|
||||
rhodecode.is_test = str2bool(app_conf.get('is_test', 'False'))
|
||||
|
||||
# Pylons paths
|
||||
root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue