mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: test suite doesn't pick up env vars
Solution: call `env_config` from the configuration fixture
This commit is contained in:
parent
254035150d
commit
cd6095e854
@ -99,6 +99,7 @@ config = {
|
||||
'advertised_host': 'localhost',
|
||||
'advertised_port': 9985,
|
||||
},
|
||||
# FIXME: hardcoding to localmongodb for now
|
||||
'database': _database_map['localmongodb'],
|
||||
'keypair': {
|
||||
'public': None,
|
||||
|
@ -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)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user