Problem: test suite doesn't pick up env vars

Solution: call `env_config` from the configuration fixture
This commit is contained in:
vrde 2018-02-14 15:30:21 +01:00 committed by Sylvain Bellemare
parent 254035150d
commit cd6095e854
2 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,7 @@ config = {
'advertised_host': 'localhost',
'advertised_port': 9985,
},
# FIXME: hardcoding to localmongodb for now
'database': _database_map['localmongodb'],
'keypair': {
'public': None,

View File

@ -155,6 +155,7 @@ def _configure_bigchaindb(request, ssl_context):
}
}
config['database']['name'] = test_db_name
config = config_utils.env_config(config)
config_utils.set_config(config)