mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Consistent treatment of format in route capturing, refs #1667
Also refs #1660
This commit is contained in:
parent
61419388c1
commit
b9c2b1cfc8
3 changed files with 36 additions and 30 deletions
|
|
@ -629,8 +629,8 @@ def test_old_memory_urls_redirect(app_client_no_files, path, expected_redirect):
|
|||
|
||||
|
||||
def test_database_page_for_database_with_dot_in_name(app_client_with_dot):
|
||||
response = app_client_with_dot.get("/fixtures.dot.json")
|
||||
assert 200 == response.status
|
||||
response = app_client_with_dot.get("/fixtures~2Edot.json")
|
||||
assert response.status == 200
|
||||
|
||||
|
||||
def test_custom_sql(app_client):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue