diff options
author | 2016-06-16 14:37:22 +0200 | |
---|---|---|
committer | 2016-06-16 14:37:22 +0200 | |
commit | 7b2562f07f305c18878c77ddcc425a5a32a60186 (patch) | |
tree | 0b95e63757d8d9825063ffda9ee5eb2edac846b5 /moonclient/moonclient/tests.py | |
parent | 2e7b4f2027a1147ca28301e4f88adf8274b39a1f (diff) |
update tests on Moonclient
Change-Id: I11dee646deec20423411c5bcaf4b8e694622bd79
Diffstat (limited to 'moonclient/moonclient/tests.py')
-rw-r--r-- | moonclient/moonclient/tests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/moonclient/moonclient/tests.py b/moonclient/moonclient/tests.py index e2824fa5..5a33130c 100644 --- a/moonclient/moonclient/tests.py +++ b/moonclient/moonclient/tests.py @@ -117,6 +117,7 @@ class TestsLaunch(Lister): if "auth_name" in test or "auth_password" in test or "auth_url" in test: username = None password = None + tenant = None host = None port = None description = "" @@ -124,13 +125,15 @@ class TestsLaunch(Lister): username = test["auth_name"] if "auth_password" in test: password = test["auth_password"] + if "auth_tenant" in test: + tenant = test["auth_tenant"] if "auth_host" in test: host = test["auth_host"] if "auth_port" in test: port = test["auth_port"] if "description" in test: description = test["description"] - self.app.auth_keystone(username, password, host, port) + self.app.auth_keystone(username, password, host, port, tenant) title = "Change auth to " if username: title += username |