diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-11-09 19:32:25 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-11-09 19:32:25 +0000 |
commit | 0cff22720b4c60c1c305b5ab858c2f453cc66e34 (patch) | |
tree | 7039306b58e56efcbcd433be4bbe80d2eb4b7152 /test/testlib/testing.py | |
parent | 043379efa5d61626c9a8ab42b15c7687c6e6a0fd (diff) | |
download | sqlalchemy-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/testlib/testing.py')
-rw-r--r-- | test/testlib/testing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testlib/testing.py b/test/testlib/testing.py index cc7736937..b38968964 100644 --- a/test/testlib/testing.py +++ b/test/testlib/testing.py @@ -486,7 +486,7 @@ class ExecutionContextWrapper(object): setattr(self.ctx, key, value) trailing_underscore_pattern = re.compile(r'(\W:[\w_#]+)_\b',re.MULTILINE) - def post_execution(self): + def post_exec(self): ctx = self.ctx statement = unicode(ctx.compiled) statement = re.sub(r'\n', '', ctx.statement) @@ -540,7 +540,7 @@ class ExecutionContextWrapper(object): testdata.unittest.assert_(equivalent, "Testing for query '%s' params %s, received '%s' with params %s" % (query, repr(params), statement, repr(parameters))) testdata.sql_count += 1 - self.ctx.post_execution() + self.ctx.post_exec() def convert_statement(self, query): paramstyle = self.ctx.dialect.paramstyle |