You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2018/02/09 19:31:33 UTC

[19/28] tinkerpop git commit: TINKERPOP-1857 Added ignore for a has() test in the python GLV tests

TINKERPOP-1857 Added ignore for a has() test in the python GLV tests

Created TINKERPOP-1859 regarding bad bytecode generation for complex P instances


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/1a245c60
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/1a245c60
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/1a245c60

Branch: refs/heads/TINKERPOP-1857
Commit: 1a245c605095ed0af901a40d2124209c9cbc5887
Parents: b824cf8
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu Dec 28 15:03:22 2017 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Fri Feb 9 14:30:58 2018 -0500

----------------------------------------------------------------------
 gremlin-python/src/main/jython/radish/feature_steps.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1a245c60/gremlin-python/src/main/jython/radish/feature_steps.py
----------------------------------------------------------------------
diff --git a/gremlin-python/src/main/jython/radish/feature_steps.py b/gremlin-python/src/main/jython/radish/feature_steps.py
index d5d3560..b61d5e0 100644
--- a/gremlin-python/src/main/jython/radish/feature_steps.py
+++ b/gremlin-python/src/main/jython/radish/feature_steps.py
@@ -43,7 +43,8 @@ project = __.project
 tail = __.tail
 
 ignores = [
-    "g.V(v1Id).out().inject(v2).values(\"name\")"  # bug in attachment won't connect v2
+    "g.V(v1Id).out().inject(v2).values(\"name\")",  # bug in attachment won't connect v2
+    "g.V().hasLabel(\"person\").has(\"age\", P.not(P.lte(d10).and(P.not(P.between(d11, d20)))).and(P.lt(d29).or(P.eq(d35)))).values(\"name\")" # TINKERPOP-1859
            ]
 
 
@@ -92,11 +93,17 @@ def translate_traversal(step):
 
 @when("iterated to list")
 def iterate_the_traversal(step):
+    if step.context.ignore:
+        return
+    
     step.context.result = map(lambda x: _convert_results(x), step.context.traversal.toList())
 
 
 @when("iterated next")
 def next_the_traversal(step):
+    if step.context.ignore:
+        return
+
     step.context.result = map(lambda x: _convert_results(x), step.context.traversal.next())