def setUp(self):
        BasicPySlotCase.setUp(self)

        # Create the logger
        level = logging.DEBUG
        self.logger = logging.getLogger(name='test')
        self.logger.setLevel(level)

        # Create the handler
        self.leap_handler = LeapLogHandler()
        self.leap_handler.setLevel(level)
        self.logger.addHandler(self.leap_handler)
    def setUp(self):
        UsesQApplication.setUp(self)
        BasicPySlotCase.setUp(self)

        self.tbt = TesterBootstrapper()
        self.called1 = self.called2 = 0
 def tearDown(self):
     BasicPySlotCase.tearDown(self)
     try:
         self.leap_handler.new_log.disconnect()
     except Exception:
         pass
    def setUp(self):
        UsesQApplication.setUp(self)
        BasicPySlotCase.setUp(self)

        self.tbt = TesterBootstrapper()
        self.called1 = self.called2 = 0