X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=tests%2Ftest_api.py;h=e7303a83e697d7ecfa509cc3410e803110b55ffa;hb=8f9efbfc3af5b26bda1dcc61b1217ecc5105bc5d;hp=25bd29757da230af08fece32442bbcd7398dc487;hpb=5c00383b9044ca27de9c51a511962ffad65ed5f3;p=datasette-connectors.git diff --git a/tests/test_api.py b/tests/test_api.py index 25bd297..e7303a8 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -64,9 +64,9 @@ def test_table_json(app_client): def test_table_not_exists_json(app_client): assert { 'ok': False, - 'title': 'Invalid SQL', - 'error': 'no such table: blah', - 'status': 400, + 'error': 'Table not found: blah', + 'status': 404, + 'title': None, } == app_client.get('/dummy_tables/blah.json').json def test_table_shape_arrays(app_client):