mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Tidy up with Black
This commit is contained in:
parent
9c58d048ec
commit
2a4b892d6c
1 changed files with 5 additions and 1 deletions
|
|
@ -754,7 +754,11 @@ def test_table_with_reserved_word_name(app_client):
|
||||||
# Ensure faceting doesn't break pagination:
|
# Ensure faceting doesn't break pagination:
|
||||||
("/fixtures/compound_three_primary_keys.json?_facet=pk1", 1001, 21),
|
("/fixtures/compound_three_primary_keys.json?_facet=pk1", 1001, 21),
|
||||||
# Paginating while sorted by an expanded foreign key should work
|
# Paginating while sorted by an expanded foreign key should work
|
||||||
("/fixtures/roadside_attraction_characteristics.json?_size=2&_sort=attraction_id&_labels=on", 5, 3),
|
(
|
||||||
|
"/fixtures/roadside_attraction_characteristics.json?_size=2&_sort=attraction_id&_labels=on",
|
||||||
|
5,
|
||||||
|
3,
|
||||||
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
def test_paginate_tables_and_views(app_client, path, expected_rows, expected_pages):
|
def test_paginate_tables_and_views(app_client, path, expected_rows, expected_pages):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue