@@ -179,7 +179,7 @@ def test_pagination_respects_first_after():
179179 'pageInfo' : {
180180 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
181181 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjM=' ,
182- 'hasPreviousPage' : False ,
182+ 'hasPreviousPage' : True ,
183183 'hasNextPage' : True ,
184184 }
185185 }
@@ -207,7 +207,7 @@ def test_pagination_respects_longfirst_after():
207207 'pageInfo' : {
208208 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
209209 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjQ=' ,
210- 'hasPreviousPage' : False ,
210+ 'hasPreviousPage' : True ,
211211 'hasNextPage' : False ,
212212 }
213213 }
@@ -231,7 +231,7 @@ def test_pagination_respects_last_before():
231231 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjE=' ,
232232 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
233233 'hasPreviousPage' : True ,
234- 'hasNextPage' : False ,
234+ 'hasNextPage' : True ,
235235 }
236236 }
237237 assert c .to_dict () == expected
@@ -259,7 +259,7 @@ def test_pagination_respects_longlast_before():
259259 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjA=' ,
260260 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
261261 'hasPreviousPage' : False ,
262- 'hasNextPage' : False ,
262+ 'hasNextPage' : True ,
263263 }
264264 }
265265 assert c .to_dict () == expected
@@ -284,7 +284,7 @@ def test_first_after_before_few():
284284 'pageInfo' : {
285285 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjE=' ,
286286 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
287- 'hasPreviousPage' : False ,
287+ 'hasPreviousPage' : True ,
288288 'hasNextPage' : True ,
289289 }
290290 }
@@ -314,8 +314,8 @@ def test_first_after_before_many():
314314 'pageInfo' : {
315315 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjE=' ,
316316 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjM=' ,
317- 'hasPreviousPage' : False ,
318- 'hasNextPage' : False ,
317+ 'hasPreviousPage' : True ,
318+ 'hasNextPage' : True ,
319319 }
320320 }
321321 assert c .to_dict () == expected
@@ -344,8 +344,8 @@ def test_first_after_before_exact():
344344 'pageInfo' : {
345345 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjE=' ,
346346 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjM=' ,
347- 'hasPreviousPage' : False ,
348- 'hasNextPage' : False ,
347+ 'hasPreviousPage' : True ,
348+ 'hasNextPage' : True ,
349349 }
350350 }
351351 assert c .to_dict () == expected
@@ -371,7 +371,7 @@ def test_last_after_before_few():
371371 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
372372 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjM=' ,
373373 'hasPreviousPage' : True ,
374- 'hasNextPage' : False ,
374+ 'hasNextPage' : True ,
375375 }
376376 }
377377 assert c .to_dict () == expected
@@ -400,8 +400,8 @@ def test_last_after_before_many():
400400 'pageInfo' : {
401401 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjE=' ,
402402 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjM=' ,
403- 'hasPreviousPage' : False ,
404- 'hasNextPage' : False ,
403+ 'hasPreviousPage' : True ,
404+ 'hasNextPage' : True ,
405405 }
406406 }
407407 assert c .to_dict () == expected
@@ -430,8 +430,8 @@ def test_last_after_before_exact():
430430 'pageInfo' : {
431431 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjE=' ,
432432 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjM=' ,
433- 'hasPreviousPage' : False ,
434- 'hasNextPage' : False ,
433+ 'hasPreviousPage' : True ,
434+ 'hasNextPage' : True ,
435435 }
436436 }
437437 assert c .to_dict () == expected
@@ -534,8 +534,8 @@ def test_no_elements_cursors_cross():
534534 'pageInfo' : {
535535 'startCursor' : None ,
536536 'endCursor' : None ,
537- 'hasPreviousPage' : False ,
538- 'hasNextPage' : False ,
537+ 'hasPreviousPage' : True ,
538+ 'hasNextPage' : True ,
539539 }
540540 }
541541 assert c .to_dict () == expected
@@ -633,7 +633,7 @@ def test_list_slice_works_with_a_just_right_array_slice():
633633 'pageInfo' : {
634634 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjE=' ,
635635 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
636- 'hasPreviousPage' : False ,
636+ 'hasPreviousPage' : True ,
637637 'hasNextPage' : True ,
638638 }
639639 }
@@ -664,7 +664,7 @@ def test_list_slice_works_with_an_oversized_array_slice_left_side():
664664 'pageInfo' : {
665665 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjE=' ,
666666 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
667- 'hasPreviousPage' : False ,
667+ 'hasPreviousPage' : True ,
668668 'hasNextPage' : True ,
669669 }
670670 }
@@ -691,7 +691,7 @@ def test_list_slice_works_with_an_oversized_array_slice_right_side():
691691 'pageInfo' : {
692692 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
693693 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
694- 'hasPreviousPage' : False ,
694+ 'hasPreviousPage' : True ,
695695 'hasNextPage' : True ,
696696 }
697697 }
@@ -718,7 +718,7 @@ def test_list_slice_works_with_an_oversized_array_slice_both_sides():
718718 'pageInfo' : {
719719 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
720720 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
721- 'hasPreviousPage' : False ,
721+ 'hasPreviousPage' : True ,
722722 'hasNextPage' : True ,
723723 }
724724 }
@@ -749,7 +749,7 @@ def test_list_slice_works_with_an_undersized_array_slice_left_side():
749749 'pageInfo' : {
750750 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjM=' ,
751751 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjQ=' ,
752- 'hasPreviousPage' : False ,
752+ 'hasPreviousPage' : True ,
753753 'hasNextPage' : False ,
754754 }
755755 }
@@ -780,7 +780,7 @@ def test_list_slice_works_with_an_undersized_array_slice_right_side():
780780 'pageInfo' : {
781781 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjI=' ,
782782 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjM=' ,
783- 'hasPreviousPage' : False ,
783+ 'hasPreviousPage' : True ,
784784 'hasNextPage' : True ,
785785 }
786786 }
@@ -807,7 +807,7 @@ def test_list_slice_works_with_an_undersized_array_slice_both_sides():
807807 'pageInfo' : {
808808 'startCursor' : 'YXJyYXljb25uZWN0aW9uOjM=' ,
809809 'endCursor' : 'YXJyYXljb25uZWN0aW9uOjM=' ,
810- 'hasPreviousPage' : False ,
810+ 'hasPreviousPage' : True ,
811811 'hasNextPage' : True ,
812812 }
813813 }
0 commit comments