Fix marvin to refer to correct random_gen() function

This commit is contained in:
Girish Shilamkar 2013-11-15 17:10:40 +05:30
parent ac9c4b0233
commit 454d9b04c4
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ import random
import string
import hashlib
from configGenerator import ConfigManager
from marvin.integration.lib.utils import random_gen
'''
@Desc : CloudStackTestClient is encapsulated class for getting various \
@ -135,7 +136,7 @@ class cloudstackTestClient(object):
createAcctCmd = createAccount.createAccountCmd()
createAcctCmd.accounttype = acctType
createAcctCmd.domainid = domId
createAcctCmd.email = "test-" + self.random_gen()\
createAcctCmd.email = "test-" + random_gen()\
+ "@cloudstack.org"
createAcctCmd.firstname = UserName
createAcctCmd.lastname = UserName