MCPcopy
hub / github.com/django/django / test_view_function_with_args

Method test_view_function_with_args

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

Source from the content-addressed store, hash-verified

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"))
58
59 def test_class_based_view(self):
60 self.assertEqual("/some-cbv/", resolve_url(some_cbv))

Callers

nothing calls this directly

Calls 1

resolve_urlFunction · 0.90

Tested by

no test coverage detected