MCPcopy
hub / github.com/django/django / test_fromkeys_noniterable

Method test_fromkeys_noniterable

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

Source from the content-addressed store, hash-verified

298 self.assertEqual(QueryDict.fromkeys([]), QueryDict(""))
299
300 def test_fromkeys_noniterable(self):
301 with self.assertRaises(TypeError):
302 QueryDict.fromkeys(0)
303
304
305class HttpResponseTests(SimpleTestCase):

Callers

nothing calls this directly

Calls 1

fromkeysMethod · 0.80

Tested by

no test coverage detected