summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-05-12 19:58:02 +0300
committerLV-426 <lv-426@taproot.org.il>2015-05-12 19:58:02 +0300
commitd44209f43bcb0e315d3449fc37e5aa08f9c0f1fb (patch)
tree416f16414661cbe24726b4c521c64889f44ed840
parent6fae43d91ee418ef1101126c9a28ba98ad48ae28 (diff)
path quantifier tests
-rw-r--r--src/server-tests/test_neo4j_cypher.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/server-tests/test_neo4j_cypher.py b/src/server-tests/test_neo4j_cypher.py
index 1c4daae8..b6601076 100644
--- a/src/server-tests/test_neo4j_cypher.py
+++ b/src/server-tests/test_neo4j_cypher.py
@@ -92,7 +92,11 @@ class Test_DB_Op(unittest.TestCase):
'match ()-[:A]->()',
'match (n:`T_nMu7ktxW` {node_attr})',
'match (n:A:B)-[r_b:Knows {a: \'0\'}]-(m:Skill), (n)-[]-(m)',
- 'match (n:A)-[r:B*0..432]-(m)',
+
+ # path quantifier
+ 'match (n:A)-[r:B*0..4]-(m)',
+ 'match (m)-[*0..2]-(m)',
+ 'match ()-[r*0..6]-()',
#
# UNICODE tests
@@ -155,7 +159,7 @@ class Test_DB_Op(unittest.TestCase):
dbq = DB_Query(q_arr)
dbq_set = [dbq]
- #dbq_set = dbq_set[:1]
+ # dbq_set = dbq_set[:1]
self.test_T__common(dbq_set, QT_RZDOC_NS_Filter, test_rzdoc)
def test_T__common(self, dbq_set, T, *args):