MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / test_missing_nodes_key

Function test_missing_nodes_key

tests/test_validate.py:64–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 assert set(graph.graph["hyperedges"][0]["nodes"]) == {"n1", "n2", "n3"}
63
64def test_missing_nodes_key():
65 errors = validate_extraction({"edges": []})
66 assert any("nodes" in e for e in errors)
67
68def test_missing_edges_key():
69 errors = validate_extraction({"nodes": []})

Callers

nothing calls this directly

Calls 1

validate_extractionFunction · 0.90

Tested by

no test coverage detected