MCPcopy
hub / github.com/django/django / test_view_function_with_kwargs

Method test_view_function_with_kwargs

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

Source from the content-addressed store, hash-verified

51 self.assertEqual("/some-url/", resolved_url)
52
53 def test_view_function_with_kwargs(self):
54 self.assertEqual("/params/django/", resolve_url(params_view, slug="django"))
55
56 def test_view_function_with_args(self):
57 self.assertEqual("/params/django/", resolve_url(params_view, "django"))

Callers

nothing calls this directly

Calls 1

resolve_urlFunction · 0.90

Tested by

no test coverage detected