MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / test_expression_on_param

Method test_expression_on_param

tests/flow/test_params.py:58–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56 pass
57
58 def test_expression_on_param(self):
59 params = {'param': 1}
60 query = "RETURN $param + 1"
61 expected_results = [[2]]
62
63 query_info = QueryInfo(query = query, description="Tests expression on param", expected_result = expected_results)
64 self._assert_resultset_equals_expected(redis_graph.query(query, params), query_info)
65
66 def test_node_retrival(self):
67 p0 = Node(node_id=0, label="Person", properties={'name': 'a'})

Callers

nothing calls this directly

Calls 3

QueryInfoClass · 0.90
queryMethod · 0.45

Tested by

no test coverage detected