mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 04:50:12 +03:00
removed extra newlines
This commit is contained in:
parent
1b0c0a4660
commit
496acb9d2d
|
@ -108,12 +108,10 @@ class BreadcrumbTests(TestCase):
|
|||
('Nested Resource Instance', '/resource/123/abc')
|
||||
]
|
||||
|
||||
|
||||
def test_broken_url_breadcrumbs_handled_gracefully(self):
|
||||
url = '/foobar'
|
||||
assert get_breadcrumbs(url) == [('Root', '/')]
|
||||
|
||||
|
||||
def test_modelviewset_resource_instance_breadcrumbs(self):
|
||||
url = '/resources/1/'
|
||||
assert get_breadcrumbs(url) == [
|
||||
|
|
Loading…
Reference in New Issue
Block a user