def __del__(self):
     self.logger.debug("Unconfig the common resurces.")
     SmgrSetupResource.finishedWith(self.res)
 def tearDown(self):
     self.logger.debug("Tearing down SmgrRegressionTests.")
     super(SmgrRegressionTests, self).tearDown()
     SmgrSetupResource.finishedWith(self.res)
 def __init__(self, *args, **kwargs):
     testtools.TestCase.__init__(self, *args, **kwargs)
     self.res = SmgrSetupResource.getResource()
     self.inputs = self.res.inputs
     #self.connections = self.res.connections
     self.logger = self.inputs.logger