Skip to content

Commit d67cf34

Browse files
committed
fix: test_metamorphic_relations.py
1 parent 36a22e5 commit d67cf34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/specification_tests/test_metamorphic_relations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def test_should_cause_metamorphic_relation_missing_relationship(self):
205205
def test_all_metamorphic_relations_implied_by_dag(self):
206206
dag = CausalDAG(self.dag_dot_path)
207207
dag.add_edge("Z", "Y") # Add a direct path from Z to Y so M becomes a mediator
208-
metamorphic_relations = generate_metamorphic_relations(dag)
208+
metamorphic_relations = generate_metamorphic_relations(dag, skip_ancestors=False)
209209
should_cause_relations = [mr for mr in metamorphic_relations if isinstance(mr, ShouldCause)]
210210
should_not_cause_relations = [mr for mr in metamorphic_relations if isinstance(mr, ShouldNotCause)]
211211

0 commit comments

Comments
 (0)