summaryrefslogtreecommitdiff
path: root/tests/test_graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_graph.py')
-rw-r--r--tests/test_graph.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_graph.py b/tests/test_graph.py
index a46c336..cc6433c 100644
--- a/tests/test_graph.py
+++ b/tests/test_graph.py
@@ -280,7 +280,8 @@ def test_cached_execution(client):
@pytest.mark.redismod
def test_slowlog(client):
- 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'})"""
client.graph().query(create_query)
@@ -486,7 +487,8 @@ def test_cache_sync(client):
@pytest.mark.redismod
def test_execution_plan(client):
redis_graph = client.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'})"""
redis_graph.query(create_query)