bump utils to 13.10.0

pass in the base URL - if not set in the environment this is set to
localhost, but on paas we can pull this out of vcap_services so that
letters render properly on paas
This commit is contained in:
Leo Hemsted
2017-03-27 17:59:06 +01:00
parent 89e429f745
commit 85404f20db
6 changed files with 20 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ def notify_config():
'name': 'notify-config',
'credentials': {
'api_host_name': 'api host name',
'admin_base_url': 'admin base url',
'admin_client_secret': 'admin client secret',
'secret_key': 'secret key',
'dangerous_salt': 'dangerous salt',
@@ -100,6 +101,7 @@ def test_notify_config():
extract_cloudfoundry_config()
assert os.environ['API_HOST_NAME'] == 'api host name'
assert os.environ['ADMIN_BASE_URL'] == 'admin base url'
assert os.environ['ADMIN_CLIENT_SECRET'] == 'admin client secret'
assert os.environ['SECRET_KEY'] == 'secret key'
assert os.environ['DANGEROUS_SALT'] == 'dangerous salt'