From e3f9e49e7d2af518a1f59defa1956cb68f50e76b Mon Sep 17 00:00:00 2001 From: Hendrik Schneider Date: Sat, 20 Jan 2018 00:56:28 +0100 Subject: [PATCH] fixed test --- tests/test_utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_utils.py b/tests/test_utils.py index a5a856846..f0405c84a 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -40,7 +40,7 @@ class CustomNameResourceInstance(APIView): class CustomNameByVariableResourceInstance(APIView): - view_name = "Foo" + view_name = "Bar" class ResourceViewSet(ModelViewSet): @@ -94,11 +94,11 @@ class BreadcrumbTests(TestCase): ] def test_resource_instance_customnamebyvar_breadcrumbs(self): - url = '/resource/customname' + url = '/resource/customnamebyvar' assert get_breadcrumbs(url) == [ ('Root', '/'), ('Resource Root', '/resource/'), - ('Foo', '/resource/customname') + ('Bar', '/resource/customnamebyvar') ] def test_nested_resource_breadcrumbs(self):