def step_folder(folder, folder_path): raise ErrorNonExistentMailbox('expect me')
def _mock5(*args, **kwargs): email = kwargs['email'] if email == 'xxxxxx@%s' % self.account.domain: raise ErrorNonExistentMailbox(email) raise AutoDiscoverRedirect(redirect_email='xxxxxx@' + self.account.domain)
def fake_get_messages(*args): raise ErrorNonExistentMailbox('expected')