async def METHOD_NAME(
    self,
    session,
    agent,
    work_queue,
):
    with pytest.raises(IntegrityError):
        await models.agents.create_agent(
            session=session,
            agent=schemas.core.Agent(name=agent.name, work_queue_id=work_queue.id),
        )