mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix marvin to refer to correct random_gen() function
This commit is contained in:
parent
09c0370d70
commit
0b8cc9705f
@ -23,6 +23,7 @@ import random
|
|||||||
import string
|
import string
|
||||||
import hashlib
|
import hashlib
|
||||||
from configGenerator import ConfigManager
|
from configGenerator import ConfigManager
|
||||||
|
from marvin.integration.lib.utils import random_gen
|
||||||
|
|
||||||
'''
|
'''
|
||||||
@Desc : CloudStackTestClient is encapsulated class for getting various \
|
@Desc : CloudStackTestClient is encapsulated class for getting various \
|
||||||
@ -125,7 +126,7 @@ class cloudstackTestClient(object):
|
|||||||
createAcctCmd = createAccount.createAccountCmd()
|
createAcctCmd = createAccount.createAccountCmd()
|
||||||
createAcctCmd.accounttype = acctType
|
createAcctCmd.accounttype = acctType
|
||||||
createAcctCmd.domainid = domId
|
createAcctCmd.domainid = domId
|
||||||
createAcctCmd.email = "test-" + self.random_gen()\
|
createAcctCmd.email = "test-" + random_gen()\
|
||||||
+ "@cloudstack.org"
|
+ "@cloudstack.org"
|
||||||
createAcctCmd.firstname = UserName
|
createAcctCmd.firstname = UserName
|
||||||
createAcctCmd.lastname = UserName
|
createAcctCmd.lastname = UserName
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user