diff --git a/tests/tests.py b/tests/tests.py index bd5c7ca0a4c4dbf783aaef611107ee1b178de446..e66518d47a7c83000847d5fd2f53fbd7417c15a6 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -76,6 +76,11 @@ class GremlinClientTests(unittest.TestCase): error = True self.assertTrue(error) + 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):