2024-09-13 16:28:17 -07:00
|
|
|
import pytest
|
|
|
|
|
|
2024-09-13 17:06:33 -07:00
|
|
|
from agent import graph
|
2024-09-13 16:28:17 -07:00
|
|
|
|
2025-05-14 06:53:07 -07:00
|
|
|
pytestmark = pytest.mark.anyio
|
|
|
|
|
|
2024-09-13 16:28:17 -07:00
|
|
|
|
2025-05-08 13:48:39 -07:00
|
|
|
@pytest.mark.langsmith
|
2024-09-13 16:30:31 -07:00
|
|
|
async def test_agent_simple_passthrough() -> None:
|
2025-05-14 06:53:07 -07:00
|
|
|
inputs = {"changeme": "some_val"}
|
|
|
|
|
res = await graph.ainvoke(inputs)
|
2024-09-13 17:12:07 -07:00
|
|
|
assert res is not None
|