Fixed broken test introduced in b0a95da96

pull/379/head
Simon Willison 2018-05-29 19:38:21 -07:00
rodzic 27eff1809c
commit 1a8b0213e0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 17E2DEA2588B7F52
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -340,7 +340,7 @@ def test_sql_time_limit(app_client_shorter_time_limit):
gather_request=False gather_request=False
) )
assert 400 == response.status assert 400 == response.status
assert 'interrupted' == response.json['error'] assert 'SQL Interrupted' == response.json['title']
def test_custom_sql_time_limit(app_client): def test_custom_sql_time_limit(app_client):
@ -354,7 +354,7 @@ def test_custom_sql_time_limit(app_client):
gather_request=False gather_request=False
) )
assert 400 == response.status assert 400 == response.status
assert 'interrupted' == response.json['error'] assert 'SQL Interrupted' == response.json['title']
def test_invalid_custom_sql(app_client): def test_invalid_custom_sql(app_client):