Ad
  • Custom User Avatar

    Sorry for the misunderstanding, thanks for the explanation.

  • Custom User Avatar

    Python testing seems off.

    Testing .page_count() method, tests assert that it should return 3, 10, 4, then -1 respectively but I'm failing all but the first. I put in a print statement and it seems that all test cases are with collections = range(1, 25) and items_per_page = 10. I'm getting 3 for all of those which should be correct.

    Also, .page_item_count() method seems to not be tested despite being in the template?