Пример #1
0
 def __init__(self, *args, **kwargs):
     testtools.TestCase.__init__(self, *args, **kwargs)
     self.res = SecurityGroupSetupResource.getResource()
     self.inputs = self.res.inputs
     self.connections = self.res.connections
     self.logger = self.inputs.logger
     self.nova_fixture = self.res.nova_fixture
     self.analytics_obj = self.connections.analytics_obj
     self.vnc_lib = self.connections.vnc_lib
     self.quantum_fixture = self.connections.quantum_fixture
Пример #2
0
 def tearDown(self):
     self.logger.debug("Tearing down SecurityGroupRegressionTests.")
     super(SecurityGroupRegressionTests, self).tearDown()
     SecurityGroupSetupResource.finishedWith(self.res)
Пример #3
0
 def __del__(self):
     self.logger.debug("Unconfig the common resurces.")
     SecurityGroupSetupResource.finishedWith(self.res)