summaryrefslogtreecommitdiff
path: root/test/sql/constraints.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-11-09 19:32:25 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-11-09 19:32:25 +0000
commit0cff22720b4c60c1c305b5ab858c2f453cc66e34 (patch)
tree7039306b58e56efcbcd433be4bbe80d2eb4b7152 /test/sql/constraints.py
parent043379efa5d61626c9a8ab42b15c7687c6e6a0fd (diff)
downloadsqlalchemy-0cff22720b4c60c1c305b5ab858c2f453cc66e34.tar.gz
- Removed the 'properties' attribute of the
Connection object, Connection.info should be used. - Method consoliation in Connection, ExecutionContext
Diffstat (limited to 'test/sql/constraints.py')
-rw-r--r--test/sql/constraints.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sql/constraints.py b/test/sql/constraints.py
index b719ac93d..b7208532c 100644
--- a/test/sql/constraints.py
+++ b/test/sql/constraints.py
@@ -175,12 +175,12 @@ class ConstraintTest(TestBase, AssertsExecutionResults):
capt = []
connection = testing.db.connect()
# TODO: hacky, put a real connection proxy in
- ex = connection._Connection__execute_raw
+ ex = connection._Connection__execute_context
def proxy(context):
capt.append(context.statement)
capt.append(repr(context.parameters))
ex(context)
- connection._Connection__execute_raw = proxy
+ connection._Connection__execute_context = proxy
schemagen = testing.db.dialect.schemagenerator(testing.db.dialect, connection)
schemagen.traverse(events)