From f4582bf867c06433aa8a54811c2bcca659ede922 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Wed, 21 Apr 2021 17:37:33 -0700 Subject: [PATCH] Fixed search test failure, refs #367 --- vaccinate/api/test_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vaccinate/api/test_search.py b/vaccinate/api/test_search.py index 0ee1e01..21f22c6 100644 --- a/vaccinate/api/test_search.py +++ b/vaccinate/api/test_search.py @@ -49,7 +49,7 @@ def test_search_locations_ignores_soft_deleted(client, ten_locations): def test_search_locations_format_json(client, ten_locations): result = search_get_json(client, "q=Location+1") - assert set(result.keys()) == {"results", "keys"} + assert set(result.keys()) == {"results", "total"} record = result["results"][0] assert set(record.keys()) == { "id",