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> (cherry picked from commit 9a5d2e9e36411ac5df17baca13874e0575233dac)
This commit is contained in:
parent
323db5c517
commit
4956e46884
|
|
@ -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