MCPcopy Create free account
hub / github.com/apache/cloudstack / user

Function user

tools/marvin/marvin/cloudstackTestCase.py:31–42  ·  view source on GitHub ↗
(Name, DomainName, AcctType)

Source from the content-addressed store, hash-verified

29
30
31def user(Name, DomainName, AcctType):
32 def wrapper(cls):
33 orig_init = cls.__init__
34
35 def __init__(self, *args, **kws):
36 cls.UserName = Name
37 cls.DomainName = DomainName
38 cls.AcctType = AcctType
39 orig_init(self, *args, **kws)
40 cls.__init__ = __init__
41 return cls
42 return wrapper
43
44
45class cloudstackTestCase(unittest.case.TestCase):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected