Download tests/integration_tests/test_graph.py from Cripple-Lee/Personal-Assistant-Server: direct link, hf CLI and curl.
- Browser
- Download file 250 Bytes
-
https://huggingface.co/spaces/Cripple-Lee/Personal-Assistant-Server/resolve/main/tests/integration_tests/test_graph.py
- Command line
-
hf download hf://spaces/Cripple-Lee/Personal-Assistant-Server/tests/integration_tests/test_graph.py
-
curl -L -o test_graph.py https://huggingface.co/spaces/Cripple-Lee/Personal-Assistant-Server/resolve/main/tests/integration_tests/test_graph.py
250 Bytes
| import pytest | |
| from agent import graph | |
| pytestmark = pytest.mark.anyio | |
| async def test_agent_simple_passthrough() -> None: | |
| inputs = {"changeme": "some_val"} | |
| res = await graph.ainvoke(inputs) | |
| assert res is not None | |