diff options
author | boucherv <valentin.boucher@orange.com> | 2017-01-20 10:56:26 +0100 |
---|---|---|
committer | boucherv <valentin.boucher@orange.com> | 2017-01-20 10:56:26 +0100 |
commit | 719c13ccf1e321c536d7f7dbba06bdd544ffc968 (patch) | |
tree | ab86d60b0e12289832b9ca5bebaf0ac012a72317 | |
parent | 34aab533f4a6c20676eb2a2b6843d5980ea3ac17 (diff) |
VNF_BASE - fix quota update failed
JIRA: FUNCTEST-702
Change-Id: Ia831d35079f9286f924d0b407a64bf376b1cff21
Signed-off-by: boucherv <valentin.boucher@orange.com>
-rw-r--r-- | functest/core/vnf_base.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/functest/core/vnf_base.py b/functest/core/vnf_base.py index 99520494..9d8b6dc4 100644 --- a/functest/core/vnf_base.py +++ b/functest/core/vnf_base.py @@ -152,14 +152,15 @@ class VnfOnBoardingBase(base.TestcaseBase): self.logger.info("Update OpenStack creds informations") self.creds.update({ - "username": self.tenant_name, - "password": self.tenant_name, "tenant": self.tenant_name, }) - self.glance_client = os_utils.get_glance_client(self.creds) self.neutron_client = os_utils.get_neutron_client(self.creds) self.nova_client = os_utils.get_nova_client(self.creds) - + self.creds.update({ + "username": self.tenant_name, + "password": self.tenant_name, + }) + self.glance_client = os_utils.get_glance_client(self.creds) self.logger.info("Upload some OS images if it doesn't exist") temp_dir = os.path.join(self.data_dir, "tmp/") |