Skip to content

Commit 95d44aa

Browse files
fix tests
1 parent 4d4886a commit 95d44aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/unit/aio/test_cursor_async_unit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_get_filetransfer_type(sql, _type):
6060
assert SnowflakeCursor.get_file_transfer_type(sql) == _type
6161

6262

63-
def test_cursor_attribute():
63+
async def test_cursor_attribute():
6464
fake_conn = FakeConnection()
6565
cursor = SnowflakeCursor(fake_conn)
6666
assert cursor.lastrowid is None

test/unit/aio/test_proxies_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ async def _execute_large_query(connect_kwargs, row_count: int):
171171
await cur.execute(
172172
f"select seq4() as n from table(generator(rowcount => {row_count}));"
173173
)
174-
assert len(cur._result_set.batches) > 1
174+
assert len(cur._execution_state.result_set.batches) > 1
175175
_ = [r async for r in cur]
176176
finally:
177177
await conn.close()

0 commit comments

Comments
 (0)