def __init__(self, *args, **kwargs):
     testtools.TestCase.__init__(self, *args, **kwargs)
     self.res = SolnSetupResource.getResource()
     self.inputs = self.res.inputs
     self.connections = self.res.connections
     self.logger = self.res.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
     self.cn_inspect = self.connections.cn_inspect
     if self.inputs.webui_verification_flag:
         self.browser = self.connections.browser
         self.browser_openstack = self.connections.browser_openstack
         self.delay = 10
         self.webui = WebuiTest(self.connections, self.inputs)
         self.webui_common = WebuiCommon(self.webui)
 def tearDown(self):
     print "Tearing down test"
     super(WebuiTestSanity, self).tearDown()
     SolnSetupResource.finishedWith(self.res)
 def __del__(self):
     print "Deleting test_with_setup now"
     SolnSetupResource.finishedWith(self.res)