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 09c0370d70
commit 0b8cc9705f

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 \
@ -125,7 +126,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