MCPcopy Index your code
hub / github.com/encode/django-rest-framework / test_root_breadcrumbs

Method test_root_breadcrumbs

tests/test_utils.py:83–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

81 Tests the breadcrumb functionality used by the HTML renderer.
82 """
83 def test_root_breadcrumbs(self):
84 url = '/'
85 assert get_breadcrumbs(url) == [('Root', '/')]
86
87 def test_resource_root_breadcrumbs(self):
88 url = '/resource/'

Callers

nothing calls this directly

Calls 1

get_breadcrumbsFunction · 0.90

Tested by

no test coverage detected