Simplify the boilerplate

Signed-off-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com>
This commit is contained in:
William Fu-Hinthorn
2025-05-08 13:48:39 -07:00
parent 049ec8952e
commit 6627a2a05f
7 changed files with 52 additions and 74 deletions

View File

@@ -1,11 +1,9 @@
import pytest
from langsmith import unit
from agent import graph
@pytest.mark.asyncio
@unit
@pytest.mark.langsmith
async def test_agent_simple_passthrough() -> None:
res = await graph.ainvoke({"changeme": "some_val"})
assert res is not None