Commit 448c8170 authored by davebshow's avatar davebshow
Browse files

added session test

parent 9a1912f6
......@@ -76,6 +76,11 @@ class GremlinClientTests(unittest.TestCase):
error = True
def test_session(self):
execute = self.gc.execute("x + x", processor="session", bindings={"x": 4})
results = self.loop.run_until_complete(execute)
self.assertEqual(results[0].data[0], 8)
class WebsocketPoolTests(unittest.TestCase):
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