summaryrefslogtreecommitdiff
path: root/test/dialect/postgres.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/dialect/postgres.py')
-rw-r--r--test/dialect/postgres.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/dialect/postgres.py b/test/dialect/postgres.py
index 88bc0bb99..3a565abab 100644
--- a/test/dialect/postgres.py
+++ b/test/dialect/postgres.py
@@ -790,6 +790,16 @@ class ServerSideCursorsTest(TestBase, AssertsExecutionResults):
def tearDownAll(self):
ss_engine.dispose()
+ def test_uses_ss(self):
+ result = ss_engine.execute("select 1")
+ assert result.cursor.name
+
+ result = ss_engine.execute(text("select 1"))
+ assert result.cursor.name
+
+ result = ss_engine.execute(select([1]))
+ assert result.cursor.name
+
def test_roundtrip(self):
test_table = Table('test_table', MetaData(ss_engine),
Column('id', Integer, primary_key=True),