Update test_wp26_section_types.py to include 'references' in edge assertions

- Modified the assertion in the test for edge types to include 'references' as a valid fallback option alongside 'foundation_for', 'guides', and 'related_to'.
- This change enhances the test coverage for edge type validation, ensuring more comprehensive checks for edge cases.
This commit is contained in:
Lars 2026-01-25 17:48:30 +01:00
parent 52fdc425f7
commit 553a41df57

View File

@ -386,7 +386,8 @@ class TestGraphSchemaParser:
edge = get_typical_edge_for("insight", "decision")
# Basierend auf graph_schema.md: foundation_for oder guides
assert edge in ["foundation_for", "guides", "related_to"]
# Fallback über "any"-Regel: references oder related_to
assert edge in ["foundation_for", "guides", "related_to", "references"]
def test_get_typical_edge_fallback(self):
"""Fallback auf 'related_to' für unbekannte Typen"""