aboutsummaryrefslogtreecommitdiffstats
path: root/moonclient/moonclient/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'moonclient/moonclient/tests.py')
-rw-r--r--moonclient/moonclient/tests.py5
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