mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
A bunch of remaining ds_client conversions, refs #1959
This commit is contained in:
parent
be95359a80
commit
42a66c2f04
5 changed files with 17 additions and 14 deletions
|
|
@ -485,6 +485,7 @@ def test_database_download_for_immutable():
|
|||
|
||||
|
||||
def test_database_download_disallowed_for_mutable(app_client):
|
||||
# Use app_client because we need a file database, not in-memory
|
||||
response = app_client.get("/fixtures")
|
||||
soup = Soup(response.content, "html.parser")
|
||||
assert len(soup.findAll("a", {"href": re.compile(r"\.db$")})) == 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue