Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/test_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ async def test_scroll_absolute(connection_creator):
@pytest.mark.run_loop
async def test_scroll_errors(connection_creator):
conn = await connection_creator()
await _prepare(conn)
cur = await conn.cursor()

with pytest.raises(ProgrammingError):
Expand Down
3 changes: 2 additions & 1 deletion tests/test_sscursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ async def test_sscursor_scroll_absolute(connection):
@pytest.mark.run_loop
async def test_sscursor_scroll_errors(connection):
conn = connection
await _prepare(conn)
cursor = await conn.cursor(SSCursor)

await cursor.execute('SELECT * FROM tz_data;')
Expand All @@ -151,7 +152,7 @@ async def test_sscursor_scroll_errors(connection):
async def test_sscursor_cancel(connection):
conn = connection
cur = await conn.cursor(SSCursor)
# Prepare ALOT of data
# Prepare A LOT of data

await cur.execute('DROP TABLE IF EXISTS long_seq;')
await cur.execute(
Expand Down