mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3075: When only setUpClass() is creating account
Missed scenario for appending test case names to accounts when setUpClass calls the account.creation integration library. Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
d0695c1ffc
commit
a659d78905
|
|
@ -150,6 +150,8 @@ class MarvinPlugin(Plugin):
|
|||
setattr(test, "testClient", self.testclient)
|
||||
setattr(test, "config", self.config)
|
||||
setattr(test, "debug", partial(testCaseLogger, logger=testcaselogger))
|
||||
if self.testclient.identifier is None:
|
||||
self.testclient.identifier = self.identifier
|
||||
setattr(test, "clstestclient", self.testclient)
|
||||
if hasattr(test, "user"):
|
||||
# when the class-level attr applied. all test runs as 'user'
|
||||
|
|
|
|||
Loading…
Reference in New Issue