summaryrefslogtreecommitdiff
path: root/tests/test_asyncio/test_graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_asyncio/test_graph.py')
-rw-r--r--tests/test_asyncio/test_graph.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_asyncio/test_graph.py b/tests/test_asyncio/test_graph.py
index 0c011bd..7824256 100644
--- a/tests/test_asyncio/test_graph.py
+++ b/tests/test_asyncio/test_graph.py
@@ -262,7 +262,8 @@ async def test_cached_execution(modclient: redis.Redis):
@pytest.mark.redismod
async def test_slowlog(modclient: redis.Redis):
- create_query = """CREATE (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
+ create_query = """CREATE
+ (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
(:Rider {name:'Dani Pedrosa'})-[:rides]->(:Team {name:'Honda'}),
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})"""
await modclient.graph().query(create_query)
@@ -395,7 +396,8 @@ async def test_multi_label(modclient: redis.Redis):
@pytest.mark.redismod
async def test_execution_plan(modclient: redis.Redis):
redis_graph = modclient.graph("execution_plan")
- create_query = """CREATE (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
+ create_query = """CREATE
+ (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
(:Rider {name:'Dani Pedrosa'})-[:rides]->(:Team {name:'Honda'}),
(:Rider {name:'Andrea Dovizioso'})-[:rides]->(:Team {name:'Ducati'})"""
await redis_graph.query(create_query)