MCPcopy
hub / github.com/django/django / test_immutable_get_with_default

Method test_immutable_get_with_default

tests/httpwrappers/tests.py:58–60  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56 q.clear()
57
58 def test_immutable_get_with_default(self):
59 q = QueryDict()
60 self.assertEqual(q.get("foo", "default"), "default")
61
62 def test_immutable_basic_operations(self):
63 q = QueryDict()

Callers

nothing calls this directly

Calls 2

QueryDictClass · 0.90
getMethod · 0.45

Tested by

no test coverage detected