MCPcopy
hub / github.com/django/django / test_class_based_view_with_kwargs

Method test_class_based_view_with_kwargs

tests/resolve_url/tests.py:62–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 self.assertEqual("/some-cbv/", resolve_url(some_cbv))
61
62 def test_class_based_view_with_kwargs(self):
63 self.assertEqual("/params-cbv/5/", resolve_url(params_cbv, pk=5))
64
65 def test_class_based_view_with_args(self):
66 self.assertEqual("/params-cbv/5/", resolve_url(params_cbv, 5))

Callers

nothing calls this directly

Calls 1

resolve_urlFunction · 0.90

Tested by

no test coverage detected