def then_i_cannot_verify_the_user_with_incorrect_challenge(step): try: api_handler.verify_user(world.mobile_number, world.password, world.sms_challenge, "VERY UNLIKELY CHALLENGE") raise BaseException("Was able to verify client with incorrect challenge") except api_handler.WebserviceException: pass
def then_i_can_verify_the_user(step): world.client_uid = api_handler.verify_user(world.mobile_number, world.password, world.sms_challenge, world.client_challenge)