We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22df0bb commit eb2f08fCopy full SHA for eb2f08f
tests/test_update_query.py
@@ -46,6 +46,11 @@ def test_update_query_with_none_arg():
46
assert url.update_query(None) == expected_url
47
48
49
+def test_update_query_with_empty_dict():
50
+ url = URL("http://example.com/?foo=bar&baz=foo")
51
+ assert url.update_query({}) == url
52
+
53
54
def test_with_query_list_of_pairs():
55
url = URL("http://example.com")
56
assert str(url.with_query([("a", "1")])) == "http://example.com/?a=1"
0 commit comments