X-Git-Url: https://git.jsancho.org/?p=datasette-pytables.git;a=blobdiff_plain;f=tests%2Ftest_api.py;h=71c926277900aeaea63a1de202886797f2e08a2d;hp=b1900efcd422f91ae4b6fd253d74db0ec44ece95;hb=8f981acbd074be2eec098253112f8ef479373a5e;hpb=48833d5bdbb105a09731696e3dc293a2e68460cc diff --git a/tests/test_api.py b/tests/test_api.py index b1900ef..71c9262 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -232,6 +232,7 @@ def test_paginate_tables_and_arrays(app_client, path, expected_rows, expected_pa fetched.extend(response.json['rows']) path = response.json['next_url'] if path: + path = path.replace('http://localhost', '') assert response.json['next'] assert '_next={}'.format(response.json['next']) in path