From 719c13ccf1e321c536d7f7dbba06bdd544ffc968 Mon Sep 17 00:00:00 2001 From: boucherv Date: Fri, 20 Jan 2017 10:56:26 +0100 Subject: VNF_BASE - fix quota update failed JIRA: FUNCTEST-702 Change-Id: Ia831d35079f9286f924d0b407a64bf376b1cff21 Signed-off-by: boucherv --- functest/core/vnf_base.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/functest/core/vnf_base.py b/functest/core/vnf_base.py index 995204940..9d8b6dc49 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/") -- cgit 1.2.3-korg