'If the ASA is in multi-context mode, then the base_prompt needs to be
updated after each context change.'

def send_command_timing(self, *args, **kwargs):

    output = super(CiscoAsaSSH, self).send_command_timing(*args, **kwargs)
    if (len(args) >= 1):
        command_string = args[0]
    else:
        command_string = kwargs[u'command_string']
    if (u'changeto' in command_string):
        self.set_base_prompt()
    return output
