tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [2/6] tinkerpop git commit: Included data in assertion failure for python GLV tests CTR
Date Mon, 08 Jan 2018 14:21:50 GMT
Included data in assertion failure for python GLV tests CTR


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

Branch: refs/heads/TINKERPOP-1860
Commit: df624818c159b38b1fda3f94034e6ced2d710ed6
Parents: 85592bf
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Thu Jan 4 08:37:46 2018 -0500
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Thu Jan 4 08:37:46 2018 -0500

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


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/df624818/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 5cb4b9a..452eaa4 100644
--- a/gremlin-python/src/main/jython/radish/feature_steps.py
+++ b/gremlin-python/src/main/jython/radish/feature_steps.py
@@ -177,7 +177,7 @@ def _any_assertion(data, result, ctx):
 
 def _table_assertion(data, result, ctx, ordered):
     # results from traversal should have the same number of entries as the feature data table
-    assert_that(len(result), equal_to(len(data)))
+    assert_that(len(result), equal_to(len(data)), "result:" + str(result))
 
     results_to_test = list(result)
 


Mime
View raw message