def METHOD_NAME(self, service, user, db_session, factories):
    ids = [factories.AuthTicket(user=user).id for _ in range(3)]
    service.rename(user, "panda")
    count = (
        db_session.query(models.AuthTicket)
        .filter(models.AuthTicket.id.in_(ids))
        .count()
    )
    assert not count