Skip to content

Commit

Permalink
Fix for test_paginate_using_link_header
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Oct 31, 2020
1 parent a4ca26a commit 6bb41c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1859,6 +1859,7 @@ def test_paginate_using_link_header(app_client, qs):
assert link.startswith("<")
assert link.endswith('>; rel="next"')
path = link[1:].split(">")[0]
path = path.replace("http://localhost", "")
else:
path = None
assert num_pages == 21

0 comments on commit 6bb41c4

Please sign in to comment.