Fixed broken test introduced in b0a95da96

This commit is contained in:
Simon Willison 2018-05-29 19:38:21 -07:00
commit 1a8b0213e0
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52

View file

@ -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):