From 45fdfedc5b5573926c53264ff5eb3e48a43345d9 Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Thu, 18 Jan 2018 03:38:46 +0000 Subject: Configure password for the user in vnf For some SUTs, the password for creating user is not allowed to be the same as user name, and some even is required to contain at least 8 characters and three types of characters for security. It also turns yamllint warnings into errors and fixes the remaining warnings. Change-Id: Icf25a7b9ff1c8cee55899198f1e519c9209877ff Signed-off-by: Linda Wang --- functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py') diff --git a/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py b/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py index 3db53e35e..96b526a29 100644 --- a/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py +++ b/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py @@ -211,9 +211,9 @@ class ClearwaterImsVnf(vnf.VnfOnBoarding): self.snaps_creds, 'identity') self.creds = { - "tenant": self.tenant_name, - "username": self.tenant_name, - "password": self.tenant_name, + "tenant": self.snaps_creds.project_name, + "username": self.snaps_creds.username, + "password": self.snaps_creds.password, "auth_url": public_auth_url } self.prepare_images() -- cgit 1.2.3-korg