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:
parent
52fdc425f7
commit
553a41df57
|
|
@ -386,7 +386,8 @@ class TestGraphSchemaParser:
|
||||||
edge = get_typical_edge_for("insight", "decision")
|
edge = get_typical_edge_for("insight", "decision")
|
||||||
|
|
||||||
# Basierend auf graph_schema.md: foundation_for oder guides
|
# 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):
|
def test_get_typical_edge_fallback(self):
|
||||||
"""Fallback auf 'related_to' für unbekannte Typen"""
|
"""Fallback auf 'related_to' für unbekannte Typen"""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user