summaryrefslogtreecommitdiff
path: root/test/orm/test_unitofwork.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/test_unitofwork.py')
-rw-r--r--test/orm/test_unitofwork.py18
1 files changed, 8 insertions, 10 deletions
diff --git a/test/orm/test_unitofwork.py b/test/orm/test_unitofwork.py
index eb5530ef4..7583b9d22 100644
--- a/test/orm/test_unitofwork.py
+++ b/test/orm/test_unitofwork.py
@@ -2531,16 +2531,14 @@ class ManyToManyTest(_fixtures.FixtureTest):
self.assert_sql_execution(
testing.db,
session.flush,
- AllOf(
- CompiledSQL(
- "UPDATE items SET description=:description "
- "WHERE items.id = :items_id",
- {"description": "item4updated", "items_id": objects[4].id},
- ),
- CompiledSQL(
- "INSERT INTO keywords (name) " "VALUES (:name)",
- {"name": "yellow"},
- ),
+ CompiledSQL(
+ "UPDATE items SET description=:description "
+ "WHERE items.id = :items_id",
+ {"description": "item4updated", "items_id": objects[4].id},
+ ),
+ CompiledSQL(
+ "INSERT INTO keywords (name) " "VALUES (:name)",
+ {"name": "yellow"},
),
CompiledSQL(
"INSERT INTO item_keywords (item_id, keyword_id) "