1. diana clarke
  2. sqlalchemy-2422

Commits

Mike Bayer  committed 2b48615

merged PG test from r4859

  • Participants
  • Parent commits a652f09
  • Branches rel_0_4

Comments (0)

Files changed (1)

File test/dialect/postgres.py

View file
  • Ignore whitespace
     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),