Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Goblin OGM
AIO Gremlin
Commits
94c776d5
Commit
94c776d5
authored
Jan 18, 2018
by
davebshow
Browse files
released 3.2.7
parent
05c3ba9d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
16 deletions
+5
-16
setup.py
setup.py
+1
-1
tests/test_gremlin_python/process/test_strategies.py
tests/test_gremlin_python/process/test_strategies.py
+2
-6
tests/test_gremlin_python/process/test_traversal.py
tests/test_gremlin_python/process/test_traversal.py
+1
-8
tests/test_provider_conf.py
tests/test_provider_conf.py
+1
-1
No files found.
setup.py
View file @
94c776d5
...
...
@@ -4,7 +4,7 @@ from setuptools import setup
setup
(
name
=
'aiogremlin'
,
version
=
'3.2.
6
'
,
version
=
'3.2.
7
'
,
url
=
''
,
license
=
'Apache Software License'
,
author
=
'davebshow'
,
...
...
tests/test_gremlin_python/process/test_strategies.py
View file @
94c776d5
...
...
@@ -19,15 +19,14 @@ under the License.
'''THIS FILE HAS BEEN MODIFIED BY DAVID M. BROWN TO SUPPORT PEP 492'''
__author__
=
'Marko A. Rodriguez (http://markorodriguez.com)'
import
unittest
from
unittest
import
TestCase
from
aiogremlin.structure.graph
import
Graph
from
gremlin_python.process.strategies
import
*
from
gremlin_python.process.graph_traversal
import
__
class
TestTraversalStrategies
(
TestCase
):
class
TestTraversalStrategies
:
def
test_singletons
(
self
):
g
=
Graph
().
traversal
()
bytecode
=
g
.
withStrategies
(
ReadOnlyStrategy
()).
bytecode
...
...
@@ -101,6 +100,3 @@ class TestTraversalStrategies(TestCase):
strategy
=
bytecode
.
source_instructions
[
0
][
1
]
assert
1
==
len
(
strategy
.
configuration
)
assert
__
.
has
(
"name"
,
"marko"
)
==
strategy
.
configuration
[
"vertices"
]
if
__name__
==
'__main__'
:
unittest
.
main
()
tests/test_gremlin_python/process/test_traversal.py
View file @
94c776d5
...
...
@@ -19,16 +19,13 @@ under the License.
'''THIS FILE HAS BEEN MODIFIED BY DAVID M. BROWN TO SUPPORT PEP 492'''
__author__
=
'Marko A. Rodriguez (http://markorodriguez.com)'
import
unittest
from
unittest
import
TestCase
from
aiogremlin.structure.graph
import
Graph
from
gremlin_python.process.traversal
import
P
from
gremlin_python.process.traversal
import
Binding
from
gremlin_python.process.graph_traversal
import
__
class
TestTraversal
(
TestCase
)
:
class
TestTraversal
:
def
test_bytecode
(
self
):
g
=
Graph
().
traversal
()
bytecode
=
g
.
V
().
out
(
"created"
).
bytecode
...
...
@@ -85,7 +82,3 @@ class TestTraversal(TestCase):
assert
0
==
len
(
bytecode
.
bindings
.
keys
())
assert
0
==
len
(
bytecode
.
source_instructions
)
assert
0
==
len
(
bytecode
.
step_instructions
)
if
__name__
==
'__main__'
:
unittest
.
main
()
tests/test_provider_conf.py
View file @
94c776d5
...
...
@@ -26,7 +26,7 @@
#
# async def mock_receive():
# message = mock.Mock()
# message.tp = aiohttp.MsgType.close
# message.tp = aiohttp.
WS
MsgType.close
# return message
#
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment