From 1a8b0213e0152234b25f2777d5c6f61a41834c8a Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 29 May 2018 19:38:21 -0700 Subject: [PATCH] Fixed broken test introduced in b0a95da96 --- tests/test_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_api.py b/tests/test_api.py index 02670748..2684f1cb 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -340,7 +340,7 @@ def test_sql_time_limit(app_client_shorter_time_limit): gather_request=False ) assert 400 == response.status - assert 'interrupted' == response.json['error'] + assert 'SQL Interrupted' == response.json['title'] def test_custom_sql_time_limit(app_client): @@ -354,7 +354,7 @@ def test_custom_sql_time_limit(app_client): gather_request=False ) assert 400 == response.status - assert 'interrupted' == response.json['error'] + assert 'SQL Interrupted' == response.json['title'] def test_invalid_custom_sql(app_client):