mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Reliable sort order for facets in Python 3.5, fixing test - refs #255
This commit is contained in:
parent
062303419c
commit
b263da78e3
3 changed files with 4 additions and 4 deletions
|
|
@ -210,8 +210,8 @@ def test_facets_persist_through_filter_form(app_client):
|
|||
inputs = Soup(response.body, 'html.parser').find('form').findAll('input')
|
||||
hiddens = [i for i in inputs if i['type'] == 'hidden']
|
||||
assert [
|
||||
('_facet', 'planet_int'),
|
||||
('_facet', 'city_id'),
|
||||
('_facet', 'planet_int'),
|
||||
] == [
|
||||
(hidden['name'], hidden['value']) for hidden in hiddens
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue