mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fix for test_paginate_using_link_header
This commit is contained in:
parent
a4ca26a265
commit
6bb41c4b33
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue