Skip to content

Commit 4d0cea6

Browse files
Girish ShilamkarPrasanna Santhanam
authored andcommitted
CLOUDSTACK-2513: VPN tests refer to invalid connection.user in cloudConnection
cloudConnection object should always have "user" and "passwd" attributes. And they are "None" while creating userAPIClient. As we already have "user" and "password" for mgmt server. Signed-off-by: Prasanna Santhanam <tsp@apache.org>
1 parent 046580f commit 4d0cea6

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tools/marvin/marvin/cloudstackConnection.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,8 @@ def __init__(self, mgtSvr, port=8096, user=None, passwd=None,
4343
self.securityKey = securityKey
4444
self.mgtSvr = mgtSvr
4545
self.port = port
46-
if user:
47-
self.user = user
48-
if passwd:
49-
self.passwd = passwd
46+
self.user = user
47+
self.passwd = passwd
5048
self.logging = logging
5149
self.path = path
5250
self.retries = 5

0 commit comments

Comments
 (0)