summaryrefslogtreecommitdiff
path: root/test/ext/test_baked.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/ext/test_baked.py')
-rw-r--r--test/ext/test_baked.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ext/test_baked.py b/test/ext/test_baked.py
index 9906339c2..cdf8414b4 100644
--- a/test/ext/test_baked.py
+++ b/test/ext/test_baked.py
@@ -385,7 +385,9 @@ class ResultPostCriteriaTest(BakedTest):
with testing.db.connect() as conn:
@event.listens_for(conn, "before_execute")
- def before_execute(conn, clauseelement, multiparams, params):
+ def before_execute(
+ conn, clauseelement, multiparams, params, execution_options
+ ):
assert "yes" in conn._execution_options
bq = self.bakery(lambda s: s.query(User.id).order_by(User.id))