summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/suite/test_update_delete.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/testing/suite/test_update_delete.py')
-rw-r--r--lib/sqlalchemy/testing/suite/test_update_delete.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/suite/test_update_delete.py b/lib/sqlalchemy/testing/suite/test_update_delete.py
index 3fb51ead3..f5ee2e028 100644
--- a/lib/sqlalchemy/testing/suite/test_update_delete.py
+++ b/lib/sqlalchemy/testing/suite/test_update_delete.py
@@ -37,6 +37,7 @@ class SimpleUpdateDeleteTest(fixtures.TablesTest):
)
assert not r.is_insert
assert not r.returns_rows
+ assert r.rowcount == 1
eq_(
connection.execute(t.select().order_by(t.c.id)).fetchall(),
@@ -48,6 +49,7 @@ class SimpleUpdateDeleteTest(fixtures.TablesTest):
r = connection.execute(t.delete().where(t.c.id == 2))
assert not r.is_insert
assert not r.returns_rows
+ assert r.rowcount == 1
eq_(
connection.execute(t.select().order_by(t.c.id)).fetchall(),
[(1, "d1"), (3, "d3")],