mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Another 3.5 error I missed
This commit is contained in:
parent
767e29c404
commit
8cc5a8dc35
1 changed files with 3 additions and 1 deletions
|
|
@ -1660,7 +1660,9 @@ def test_common_prefix_database_names(app_client_conflicting_database_names):
|
||||||
assert ["fixtures", "foo", "foo-bar"] == [
|
assert ["fixtures", "foo", "foo-bar"] == [
|
||||||
d["name"]
|
d["name"]
|
||||||
for d in json.loads(
|
for d in json.loads(
|
||||||
app_client_conflicting_database_names.get("/-/databases.json").body
|
app_client_conflicting_database_names.get("/-/databases.json").body.decode(
|
||||||
|
"utf8"
|
||||||
|
)
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
for db_name, path in (("foo", "/foo.json"), ("foo-bar", "/foo-bar.json")):
|
for db_name, path in (("foo", "/foo.json"), ("foo-bar", "/foo-bar.json")):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue