def METHOD_NAME(self):
    """
    Context manager to create a tmp user, and automatically delete it after use
    with self.get_tmp_user() as user:
        ...
    """
    user = self.create_user()
    try:
        yield user
    finally:
        self.remove_user(user.user_name)