Skip to content

Commit

Permalink
fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-yzou committed Oct 15, 2024
1 parent dcf5100 commit f42030d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_cte.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def test_case1():
nodes = [mock.create_autospec(SnowflakePlan) for _ in range(7)]
for i, node in enumerate(nodes):
node.encoded_id = i
node.encoded_node_id_with_query = i
node.source_plan = None
nodes[0].children_plan_nodes = [nodes[1], nodes[3]]
nodes[1].children_plan_nodes = [nodes[2], nodes[2]]
Expand All @@ -30,7 +30,7 @@ def test_case1():
def test_case2():
nodes = [mock.create_autospec(SnowflakePlan) for _ in range(7)]
for i, node in enumerate(nodes):
node.encoded_id = i
node.encoded_node_id_with_query = i
node.source_plan = None
nodes[0].children_plan_nodes = [nodes[1], nodes[3]]
nodes[1].children_plan_nodes = [nodes[2], nodes[2]]
Expand Down

0 comments on commit f42030d

Please sign in to comment.