Update test & description
This commit is contained in:
6
tests/conftest.py
Normal file
6
tests/conftest.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def anyio_backend():
|
||||
return "asyncio"
|
||||
@@ -2,8 +2,11 @@ import pytest
|
||||
|
||||
from agent import graph
|
||||
|
||||
pytestmark = pytest.mark.anyio
|
||||
|
||||
|
||||
@pytest.mark.langsmith
|
||||
async def test_agent_simple_passthrough() -> None:
|
||||
res = await graph.ainvoke({"changeme": "some_val"})
|
||||
inputs = {"changeme": "some_val"}
|
||||
res = await graph.ainvoke(inputs)
|
||||
assert res is not None
|
||||
|
||||
Reference in New Issue
Block a user