Skip to content

Commit 79049e5

Browse files
committed
Continue adding tests
1 parent 15bf03d commit 79049e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/tests/test_cursor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ async def test_cursor_fetch(
1111
) -> None:
1212
connection = await psql_pool.connection()
1313
transaction = connection.transaction()
14+
await transaction.begin()
1415
await transaction.cursor(
1516
querystring=f"SELECT * FROM {table_name}",
1617
)
18+
19+
await transaction.commit()

0 commit comments

Comments
 (0)