@@ -12,6 +12,8 @@ async def test_bulk(decoded_r):
1212 await decoded_r .graph ().bulk (foo = "bar!" )
1313
1414
15+ @pytest .mark .redismod
16+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
1517async def test_graph_creation (decoded_r : redis .Redis ):
1618 graph = decoded_r .graph ()
1719
@@ -56,6 +58,8 @@ async def test_graph_creation(decoded_r: redis.Redis):
5658 await graph .delete ()
5759
5860
61+ @pytest .mark .redismod
62+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
5963async def test_array_functions (decoded_r : redis .Redis ):
6064 graph = decoded_r .graph ()
6165
@@ -78,6 +82,8 @@ async def test_array_functions(decoded_r: redis.Redis):
7882 assert [a ] == result .result_set [0 ][0 ]
7983
8084
85+ @pytest .mark .redismod
86+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
8187async def test_path (decoded_r : redis .Redis ):
8288 node0 = Node (node_id = 0 , label = "L1" )
8389 node1 = Node (node_id = 1 , label = "L1" )
@@ -97,6 +103,8 @@ async def test_path(decoded_r: redis.Redis):
97103 assert expected_results == result .result_set
98104
99105
106+ @pytest .mark .redismod
107+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
100108async def test_param (decoded_r : redis .Redis ):
101109 params = [1 , 2.3 , "str" , True , False , None , [0 , 1 , 2 ]]
102110 query = "RETURN $param"
@@ -106,6 +114,8 @@ async def test_param(decoded_r: redis.Redis):
106114 assert expected_results == result .result_set
107115
108116
117+ @pytest .mark .redismod
118+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
109119async def test_map (decoded_r : redis .Redis ):
110120 query = "RETURN {a:1, b:'str', c:NULL, d:[1,2,3], e:True, f:{x:1, y:2}}"
111121
@@ -122,6 +132,8 @@ async def test_map(decoded_r: redis.Redis):
122132 assert actual == expected
123133
124134
135+ @pytest .mark .redismod
136+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
125137async def test_point (decoded_r : redis .Redis ):
126138 query = "RETURN point({latitude: 32.070794860, longitude: 34.820751118})"
127139 expected_lat = 32.070794860
@@ -138,6 +150,8 @@ async def test_point(decoded_r: redis.Redis):
138150 assert abs (actual ["longitude" ] - expected_lon ) < 0.001
139151
140152
153+ @pytest .mark .redismod
154+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
141155async def test_index_response (decoded_r : redis .Redis ):
142156 result_set = await decoded_r .graph ().query ("CREATE INDEX ON :person(age)" )
143157 assert 1 == result_set .indices_created
@@ -152,6 +166,8 @@ async def test_index_response(decoded_r: redis.Redis):
152166 await decoded_r .graph ().query ("DROP INDEX ON :person(age)" )
153167
154168
169+ @pytest .mark .redismod
170+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
155171async def test_stringify_query_result (decoded_r : redis .Redis ):
156172 graph = decoded_r .graph ()
157173
@@ -205,6 +221,8 @@ async def test_stringify_query_result(decoded_r: redis.Redis):
205221 await graph .delete ()
206222
207223
224+ @pytest .mark .redismod
225+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
208226async def test_optional_match (decoded_r : redis .Redis ):
209227 # Build a graph of form (a)-[R]->(b)
210228 node0 = Node (node_id = 0 , label = "L1" , properties = {"value" : "a" })
@@ -229,6 +247,8 @@ async def test_optional_match(decoded_r: redis.Redis):
229247 await graph .delete ()
230248
231249
250+ @pytest .mark .redismod
251+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
232252async def test_cached_execution (decoded_r : redis .Redis ):
233253 await decoded_r .graph ().query ("CREATE ()" )
234254
@@ -248,6 +268,8 @@ async def test_cached_execution(decoded_r: redis.Redis):
248268 assert cached_result .cached_execution
249269
250270
271+ @pytest .mark .redismod
272+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
251273async def test_slowlog (decoded_r : redis .Redis ):
252274 create_query = """CREATE
253275 (:Rider {name:'Valentino Rossi'})-[:rides]->(:Team {name:'Yamaha'}),
@@ -261,6 +283,8 @@ async def test_slowlog(decoded_r: redis.Redis):
261283
262284
263285@pytest .mark .xfail (strict = False )
286+ @pytest .mark .redismod
287+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
264288async def test_query_timeout (decoded_r : redis .Redis ):
265289 # Build a sample graph with 1000 nodes.
266290 await decoded_r .graph ().query ("UNWIND range(0,1000) as val CREATE ({v: val})" )
@@ -274,6 +298,8 @@ async def test_query_timeout(decoded_r: redis.Redis):
274298 assert False is False
275299
276300
301+ @pytest .mark .redismod
302+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
277303async def test_read_only_query (decoded_r : redis .Redis ):
278304 with pytest .raises (Exception ):
279305 # Issue a write query, specifying read-only true,
@@ -282,6 +308,8 @@ async def test_read_only_query(decoded_r: redis.Redis):
282308 assert False is False
283309
284310
311+ @pytest .mark .redismod
312+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
285313async def test_profile (decoded_r : redis .Redis ):
286314 q = """UNWIND range(1, 3) AS x CREATE (p:Person {v:x})"""
287315 profile = (await decoded_r .graph ().profile (q )).result_set
@@ -297,6 +325,8 @@ async def test_profile(decoded_r: redis.Redis):
297325
298326
299327@skip_if_redis_enterprise ()
328+ @pytest .mark .redismod
329+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
300330async def test_config (decoded_r : redis .Redis ):
301331 config_name = "RESULTSET_SIZE"
302332 config_value = 3
@@ -328,6 +358,8 @@ async def test_config(decoded_r: redis.Redis):
328358
329359
330360@pytest .mark .onlynoncluster
361+ @pytest .mark .redismod
362+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
331363async def test_list_keys (decoded_r : redis .Redis ):
332364 result = await decoded_r .graph ().list_keys ()
333365 assert result == []
@@ -350,6 +382,8 @@ async def test_list_keys(decoded_r: redis.Redis):
350382 assert result == []
351383
352384
385+ @pytest .mark .redismod
386+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
353387async def test_multi_label (decoded_r : redis .Redis ):
354388 redis_graph = decoded_r .graph ("g" )
355389
@@ -375,6 +409,8 @@ async def test_multi_label(decoded_r: redis.Redis):
375409 assert True
376410
377411
412+ @pytest .mark .redismod
413+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
378414async def test_execution_plan (decoded_r : redis .Redis ):
379415 redis_graph = decoded_r .graph ("execution_plan" )
380416 create_query = """CREATE
@@ -393,6 +429,8 @@ async def test_execution_plan(decoded_r: redis.Redis):
393429 await redis_graph .delete ()
394430
395431
432+ @pytest .mark .redismod
433+ @pytest .mark .skip (reason = "Graph module removed from Redis Stack" )
396434async def test_explain (decoded_r : redis .Redis ):
397435 redis_graph = decoded_r .graph ("execution_plan" )
398436 # graph creation / population
0 commit comments