Commit 94c776d5 authored by davebshow's avatar davebshow
Browse files

released 3.2.7

parent 05c3ba9d
......@@ -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',
......
......@@ -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()
......@@ -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()
......@@ -26,7 +26,7 @@
#
# async def mock_receive():
# message = mock.Mock()
# message.tp = aiohttp.MsgType.close
# message.tp = aiohttp.WSMsgType.close
# return message
#
#
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment