MCPcopy
hub / github.com/django/django / test_url_path

Method test_url_path

tests/resolve_url/tests.py:15–19  ·  view source on GitHub ↗

Passing a URL path to resolve_url() results in the same url.

(self)

Source from the content-addressed store, hash-verified

13 """
14
15 def test_url_path(self):
16 """
17 Passing a URL path to resolve_url() results in the same url.
18 """
19 self.assertEqual("/something/", resolve_url("/something/"))
20
21 def test_relative_path(self):
22 """

Callers

nothing calls this directly

Calls 1

resolve_urlFunction · 0.90

Tested by

no test coverage detected