Download tests/test_graph.py from Prerna43/bi_agent: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/spaces/Prerna43/bi_agent/resolve/main/tests/test_graph.py
- Command line
-
hf download hf://spaces/Prerna43/bi_agent/tests/test_graph.py
-
curl -L -o test_graph.py https://huggingface.co/spaces/Prerna43/bi_agent/resolve/main/tests/test_graph.py
378 Bytes
| from services.service import BIService | |
| def test_workflow_runs_full_state(): | |
| service = BIService() | |
| result = service.ask("Show monthly revenue trend by region") | |
| assert result["plan"] is not None | |
| assert result["sql"] is not None | |
| assert result["analysis"] is not None | |
| assert result["reflection"] is not None | |
| assert result["visualization"] is not None | |