Skip to content

Commit 34fe4ab

Browse files
committed
Fix 'test_search_iterate_pages', needs to be rewritten.
1 parent bfec4f3 commit 34fe4ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,13 @@ def test_search_iterate_pages(self):
211211
SearchIndex='Books')
212212
assert_false(products.is_last_page)
213213
for product in products:
214-
if products.current_page < 8:
214+
if products.current_page < 9:
215215
assert_false(products.is_last_page)
216216
else:
217217
assert_true(products.is_last_page)
218218

219219
assert_true(products.is_last_page)
220-
assert_true(products.current_page == 8)
220+
assert_true(products.current_page == 9)
221221

222222
@flaky(max_runs=3, rerun_filter=delay_rerun)
223223
def test_search_no_results(self):

0 commit comments

Comments
 (0)