You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by co...@apache.org on 2023/06/12 22:45:56 UTC

[tinkerpop] branch 3.5-dev updated: CTR fix typo in python translator tests for 3.5

This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.5-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/3.5-dev by this push:
     new ac7b4ef5b5 CTR fix typo in python translator tests for 3.5
ac7b4ef5b5 is described below

commit ac7b4ef5b55e625f89f04933470ea209d1e0e76d
Author: Cole Greer <co...@bitquilltech.com>
AuthorDate: Mon Jun 12 15:45:39 2023 -0700

    CTR fix typo in python translator tests for 3.5
---
 gremlin-python/src/main/python/tests/process/test_translator.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gremlin-python/src/main/python/tests/process/test_translator.py b/gremlin-python/src/main/python/tests/process/test_translator.py
index 5f48cc9a07..783d694af7 100644
--- a/gremlin-python/src/main/python/tests/process/test_translator.py
+++ b/gremlin-python/src/main/python/tests/process/test_translator.py
@@ -355,11 +355,11 @@ class TestTraversalStrategies(object):
                      "g.withStrategies(new VertexProgramStrategy()).V().shortestPath().with('~tinkerpop.shortestPath.target',__.has('name','peter'))"])
 
         # 99
-        tests.append([g.V().has("p1", starting_with("foo")),
+        tests.append([g.V().has("p1", startingWith("foo")),
                      "g.V().has('p1',startingWith('foo'))"])
 
         # 100
-        tests.append([g.V().has("p1", ending_with("foo")),
+        tests.append([g.V().has("p1", endingWith("foo")),
                      "g.V().has('p1',endingWith('foo'))"])
 
         # 101