@@ -406,7 +406,7 @@ async def test_execution_plan(modclient: redis.Redis):
406406 "MATCH (r:Rider)-[:rides]->(t:Team) WHERE t.name = $name RETURN r.name, t.name, $params" , # noqa
407407 {"name" : "Yehuda" },
408408 )
409- expected = "Results\n Project\n Conditional Traverse | (t:Team )->(r:Rider)\n Filter\n Node By Label Scan | (t:Team)" # noqa
409+ expected = "Results\n Project\n Conditional Traverse | (t)->(r:Rider)\n Filter\n Node By Label Scan | (t:Team)" # noqa
410410 assert result == expected
411411
412412 await redis_graph .delete ()
@@ -437,11 +437,11 @@ async def test_explain(modclient: redis.Redis):
437437Distinct
438438 Join
439439 Project
440- Conditional Traverse | (t:Team )->(r:Rider)
440+ Conditional Traverse | (t)->(r:Rider)
441441 Filter
442442 Node By Label Scan | (t:Team)
443443 Project
444- Conditional Traverse | (t:Team )->(r:Rider)
444+ Conditional Traverse | (t)->(r:Rider)
445445 Filter
446446 Node By Label Scan | (t:Team)"""
447447 assert str (result ).replace (" " , "" ).replace ("\n " , "" ) == expected .replace (
@@ -453,9 +453,7 @@ async def test_explain(modclient: redis.Redis):
453453 Operation ("Join" )
454454 .append_child (
455455 Operation ("Project" ).append_child (
456- Operation (
457- "Conditional Traverse" , "(t:Team)->(r:Rider)"
458- ).append_child (
456+ Operation ("Conditional Traverse" , "(t)->(r:Rider)" ).append_child (
459457 Operation ("Filter" ).append_child (
460458 Operation ("Node By Label Scan" , "(t:Team)" )
461459 )
@@ -464,9 +462,7 @@ async def test_explain(modclient: redis.Redis):
464462 )
465463 .append_child (
466464 Operation ("Project" ).append_child (
467- Operation (
468- "Conditional Traverse" , "(t:Team)->(r:Rider)"
469- ).append_child (
465+ Operation ("Conditional Traverse" , "(t)->(r:Rider)" ).append_child (
470466 Operation ("Filter" ).append_child (
471467 Operation ("Node By Label Scan" , "(t:Team)" )
472468 )
0 commit comments