mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Facets can now be toggled off again, refs #255
This commit is contained in:
parent
ba515fc56e
commit
1dc94f6eaa
4 changed files with 13 additions and 3 deletions
|
|
@ -51,6 +51,7 @@ def test_path_with_added_args(path, added_args, expected):
|
|||
@pytest.mark.parametrize('path,args,expected', [
|
||||
('/foo?bar=1', {'bar'}, '/foo'),
|
||||
('/foo?bar=1&baz=2', {'bar'}, '/foo?baz=2'),
|
||||
('/foo?bar=1&bar=2&bar=3', {'bar': '2'}, '/foo?bar=1&bar=3'),
|
||||
])
|
||||
def test_path_with_removed_args(path, args, expected):
|
||||
request = Request(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue