def __init__(self, *args, **kwargs): testtools.TestCase.__init__(self, *args, **kwargs) self.res = VPCTestSetupResource.getResource() self.inputs = self.res.inputs self.connections = self.res.connections self.vnc_lib = self.res.vnc_lib self.logger = self.res.logger self.nova_fixture = self.res.nova_fixture
def __init__(self, *args, **kwargs): testtools.TestCase.__init__(self, *args, **kwargs) self.res = VPCTestSetupResource.getResource() self.inputs = self.res.inputs self.connections = self.res.connections self.vnc_lib = self.res.vnc_lib self.logger = self.res.logger self.nova_h = self.res.nova_h
def __del__(self): print "Deleting vpc_test_with_setup now" VPCTestSetupResource.finishedWith(self.res)