mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fix for tests - order was inconsistent, refs #852
This commit is contained in:
parent
0807c4200f
commit
b59b92b1b0
2 changed files with 17 additions and 11 deletions
|
|
@ -95,11 +95,13 @@ def test_database_page(app_client):
|
|||
"/fixtures/%F0%9D%90%9C%F0%9D%90%A2%F0%9D%90%AD%F0%9D%90%A2%F0%9D%90%9E%F0%9D%90%AC",
|
||||
"𝐜𝐢𝐭𝐢𝐞𝐬",
|
||||
),
|
||||
("/fixtures/pragma_cache_size", "pragma_cache_size"),
|
||||
("/fixtures/neighborhood_search#fragment-goes-here", "Search neighborhoods"),
|
||||
("/fixtures/from_async_hook", "from_async_hook"),
|
||||
("/fixtures/from_hook", "from_hook"),
|
||||
] == [(a["href"], a.text) for a in queries_ul.find_all("a")]
|
||||
("/fixtures/neighborhood_search#fragment-goes-here", "Search neighborhoods"),
|
||||
("/fixtures/pragma_cache_size", "pragma_cache_size"),
|
||||
] == sorted(
|
||||
[(a["href"], a.text) for a in queries_ul.find_all("a")], key=lambda p: p[0]
|
||||
)
|
||||
|
||||
|
||||
def test_invalid_custom_sql(app_client):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue