remove GraphSONWriter and print statement

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

Branch: refs/heads/master
Commit: 2ce68df6367a9c45c80aa740b3321b868f9834ea
Parents: d392379
Author: Adam Holmberg <adam.holmb...@datastax.com>
Authored: Thu Oct 6 13:03:47 2016 -0500
Committer: Adam Holmberg <adam.holmb...@datastax.com>
Committed: Mon Oct 10 16:20:25 2016 -0500

----------------------------------------------------------------------
 .../main/jython/tests/driver/test_driver_remote_connection.py    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/2ce68df6/gremlin-python/src/main/jython/tests/driver/test_driver_remote_connection.py
----------------------------------------------------------------------
diff --git 
a/gremlin-python/src/main/jython/tests/driver/test_driver_remote_connection.py 
b/gremlin-python/src/main/jython/tests/driver/test_driver_remote_connection.py
index 1fd28ae..f65255b 100644
--- 
a/gremlin-python/src/main/jython/tests/driver/test_driver_remote_connection.py
+++ 
b/gremlin-python/src/main/jython/tests/driver/test_driver_remote_connection.py
@@ -32,7 +32,6 @@ from gremlin_python.process.traversal import TraversalStrategy
 from gremlin_python.process.graph_traversal import __
 from gremlin_python.structure.graph import Graph
 from gremlin_python.structure.graph import Vertex
-from gremlin_python.structure.io.graphson import GraphSONWriter
 from gremlin_python.process.strategies import SubgraphStrategy
 
 
@@ -72,7 +71,6 @@ class TestDriverRemoteConnection(TestCase):
             withStrategies(TraversalStrategy("SubgraphStrategy",
                                              {"vertices": 
__.hasLabel("person"),
                                               "edges": 
__.hasLabel("created")}))
-        print GraphSONWriter.writeObject(g.bytecode)
         assert 4 == g.V().count().next()
         assert 0 == g.E().count().next()
         assert 1 == g.V().label().dedup().count().next()
@@ -87,7 +85,7 @@ class TestDriverRemoteConnection(TestCase):
         assert "person" == g.V().label().dedup().next()
         #
         g = g.withoutStrategies(SubgraphStrategy). \
-            withComputer(workers=4, vertices=__.has("name", "marko"), 
edges=__.limit(0))
+            withComputer({"workers": 4, "vertices": __.has("name", "marko"), 
"edges": __.limit(0)})
         assert 1 == g.V().count().next()
         assert 0 == g.E().count().next()
         assert "person" == g.V().label().next()

Reply via email to