def __init__(self, conn=None, assetName='Script', snapshot=BaseFixture.SNAPSHOT.NEW): BaseFixture.__init__(self, conn, assetName, snapshot) self.newScript = None self.scriptService = client.script(self.conn) self.templateScript = None
def __init__(self, conn=None, assetName='User', snapshot=BaseFixture.SNAPSHOT.NEW): BaseFixture.__init__(self, conn, assetName, snapshot)
def tearDown(self): if self.newScript: self.scriptService.deleteScript(self.newScript.id) BaseFixture.tearDown(self)
def setUp(self): BaseFixture.setUp(self) self.templateScript = lambda : responseparser.createProxy(xml2d(xmltemplates.SCRIPT), 'Script')
def setUp(self): BaseFixture.setUp(self) self.templateScript = lambda: responseparser.createProxy( xml2d(xmltemplates.SCRIPT), 'Script')
def __init__(self, conn=None, assetName='Project', snapshot=BaseFixture.SNAPSHOT.NEW): BaseFixture.__init__(self, conn, assetName, snapshot)
def __init__(self, conn=None, assetName='NetworkService', snapshot=BaseFixture.SNAPSHOT.NEW): BaseFixture.__init__(self, conn, assetName, snapshot)
def __init__(self, conn=None, assetName='Compute', snapshot=BaseFixture.SNAPSHOT.NEW, **kwargs): BaseFixture.__init__(self, conn, assetName, snapshot, **kwargs)