mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
More consistent use of response.text/response.json in tests, closes #792
This commit is contained in:
parent
61e40e917e
commit
9dd6d1ae6d
5 changed files with 14 additions and 25 deletions
|
|
@ -606,9 +606,7 @@ def test_row_html_simple_primary_key(app_client):
|
|||
|
||||
|
||||
def test_table_not_exists(app_client):
|
||||
assert "Table not found: blah" in app_client.get("/fixtures/blah").body.decode(
|
||||
"utf8"
|
||||
)
|
||||
assert "Table not found: blah" in app_client.get("/fixtures/blah").text
|
||||
|
||||
|
||||
def test_table_html_no_primary_key(app_client):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue