Don't show '0 results' on error page, refs #619

This commit is contained in:
Simon Willison 2021-06-01 21:09:10 -07:00
commit f40d1b99d6
2 changed files with 2 additions and 1 deletions

View file

@ -1410,6 +1410,7 @@ def test_query_error(app_client):
'<textarea id="sql-editor" name="sql">select * from notatable</textarea>'
in html
)
assert "0 results" not in html
def test_config_template_debug_on():