Address PrefixedUrlString bug in #1075

This commit is contained in:
Simon Willison 2020-10-31 13:35:47 -07:00
commit a4ca26a265
6 changed files with 16 additions and 2 deletions

View file

@ -1852,6 +1852,7 @@ def test_paginate_using_link_header(app_client, qs):
num_pages = 0
while path:
response = app_client.get(path)
assert response.status == 200
num_pages += 1
link = response.headers.get("link")
if link: