The smoke test should use keystone now that it is working.

This commit is contained in:
Tim Kuhlman 2014-06-27 09:03:16 -06:00
parent f4c1c26185
commit c7e21a2a63

View File

@ -78,8 +78,10 @@ def setup_cli():
api_host = get_api_host()
# These need to be set because we are invoking the CLI as a process
os.environ['OS_AUTH_TOKEN'] = '82510970543135'
os.environ['OS_NO_CLIENT_AUTH'] = '1'
os.environ['OS_USERNAME'] = 'mini-mon'
os.environ['OS_PASSWORD'] = 'password'
os.environ['OS_TENANT_NAME'] = 'mini-mon'
os.environ['OS_AUTH_URL'] = 'http://192.168.10.5:35357/v2.0/'
os.environ['MON_API_URL'] = 'http://' + api_host + ':8080/v2.0/'
@ -111,4 +113,4 @@ def find_notifications(alarm_id, user):
for line in stdout.splitlines():
if alarm_id in line:
result.append(json.loads(line)['state'])
return result
return result