This inserts more randomized fixtures, and adds a new test_paging_all method that verifies that paging through all of them works. In addition, these changes add more detailed sorting instructions (just to be sure it is doing it right as per docs).
The weird thing is that when I count stories and then page through them all, I don't get the exact number back. This inserts 5103, and the total count returns that same value. However when I try to page through them all I only get 5081 results back (over 6 pages). That said, it is paging through almost all the stories and not returning a 404 anywhere.
This inserts more randomized fixtures, and adds a new
test_paging_all
method that verifies that paging through all of them works. In addition, these changes add more detailed sorting instructions (just to be sure it is doing it right as per docs).The weird thing is that when I count stories and then page through them all, I don't get the exact number back. This inserts 5103, and the total count returns that same value. However when I try to page through them all I only get 5081 results back (over 6 pages). That said, it is paging through almost all the stories and not returning a 404 anywhere.