summaryrefslogtreecommitdiff
path: root/test/testlib/testing.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/testlib/testing.py')
-rw-r--r--test/testlib/testing.py4
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