X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest_api.py;h=71c926277900aeaea63a1de202886797f2e08a2d;hb=54aeb4a8918f31b273875646d7a56a1c4da34564;hp=b1900efcd422f91ae4b6fd253d74db0ec44ece95;hpb=48833d5bdbb105a09731696e3dc293a2e68460cc;p=datasette-pytables.git 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