mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
style: Run pre-commit
This commit is contained in:
parent
b47882b114
commit
9c6c13b78a
235 changed files with 7180 additions and 5628 deletions
|
@ -22,7 +22,7 @@ def test_number_format():
|
|||
|
||||
|
||||
def test_extend_query():
|
||||
""" Test extension of a query via extend_query. """
|
||||
"""Test extension of a query via extend_query."""
|
||||
query = {"a": "b"}
|
||||
extended = filters.extend_query(query, ("a", "c"), ("b", "d"))
|
||||
assert extended.get("a") == "c"
|
||||
|
@ -30,7 +30,7 @@ def test_extend_query():
|
|||
|
||||
|
||||
def test_to_qs():
|
||||
""" Test conversion from a query dictionary to a query string. """
|
||||
"""Test conversion from a query dictionary to a query string."""
|
||||
query = {"a": "b", "c": [1, 2, 3]}
|
||||
qs = filters.to_qs(query)
|
||||
assert qs == "a=b&c=1&c=2&c=3"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue