MCPcopy
hub / github.com/django/django / test_tuples

Method test_tuples

tests/utils_tests/test_http.py:34–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 )
33
34 def test_tuples(self):
35 self.assertEqual(urlencode((("a", 1), ("b", 2), ("c", 3))), "a=1&b=2&c=3")
36
37 def test_dict(self):
38 result = urlencode({"a": 1, "b": 2, "c": 3})

Callers

nothing calls this directly

Calls 1

urlencodeFunction · 0.90

Tested by

no test coverage detected