Spaces:
Running
Running
Update tests/unit/agent_factory/test_graph_builder.py
Browse filesCo-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
tests/unit/agent_factory/test_graph_builder.py
CHANGED
|
@@ -266,7 +266,7 @@ class TestResearchGraph:
|
|
| 266 |
graph.add_node(unreachable)
|
| 267 |
graph.add_edge(SequentialEdge(from_node="start", to_node="end"))
|
| 268 |
|
| 269 |
-
errors = graph.
|
| 270 |
assert len(errors) > 0
|
| 271 |
assert any("unreachable" in error.lower() for error in errors)
|
| 272 |
|
|
|
|
| 266 |
graph.add_node(unreachable)
|
| 267 |
graph.add_edge(SequentialEdge(from_node="start", to_node="end"))
|
| 268 |
|
| 269 |
+
errors = graph.validate_structure()
|
| 270 |
assert len(errors) > 0
|
| 271 |
assert any("unreachable" in error.lower() for error in errors)
|
| 272 |
|