Files
graphtest/tests/integration_tests/test_graph.py
William FH 5f4ae0a56f Setup New Project template
(Remove react agent code)
2024-09-18 20:16:02 -07:00

12 lines
229 B
Python

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