async def METHOD_NAME(self, session, agent):
    assert await models.agents.delete_agent(session=session, agent_id=agent.id)
    # make sure the agent is deleted
    result = await models.agents.read_agent(session=session, agent_id=agent.id)
    assert result is None