'Call before every test case.'

def setUp(self):

    LogCaptureTestCase.setUp(self)
    self.__action = CommandAction(None, 'Test')
    self.__action_started = False
    orgstart = self.__action.start
    def _action_start():
        self.__action_started = True
        return orgstart()
    self.__action.start = _action_start
