Skip to content

Commit b5ebdea

Browse files
committed
fix test_items_list_iter_with_start_and_count() to use correct param
1 parent c4ef768 commit b5ebdea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/client/test_items.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def test_items_list_iter_with_start_and_count(spider, json_and_msgpack):
6565
_add_test_items(job, size=10)
6666
job.finish()
6767

68-
o = job.items.list_iter(chunksize=3, start=3, size=7)
68+
o = job.items.list_iter(chunksize=3, start=3, count=7)
6969
assert next(o) == [
7070
{'id': 3, 'data': 'data3'},
7171
{'id': 4, 'data': 'data4'},

0 commit comments

Comments
 (0)