Fixes lp#960647
* Corrected api_key to password in auth exception
Change-Id: Ia609423f7c5b331b22da650491b8e94aa225ff82
diff --git a/tempest/common/rest_client.py b/tempest/common/rest_client.py
index 325d56b..276696e 100644
--- a/tempest/common/rest_client.py
+++ b/tempest/common/rest_client.py
@@ -93,7 +93,8 @@
management_url = service_url + tenant_id
return token, management_url
elif resp.status == 401:
- raise exceptions.AuthenticationFailure(user=user, password=api_key)
+ raise exceptions.AuthenticationFailure(user=user,
+ password=password)
def post(self, url, body, headers):
return self.request('POST', url, headers, body)