diff --git a/tests/interactive_doc/test_recursive_url.py b/tests/interactive_doc/test_recursive_url.py index ef6f86f22..af4d7e1f9 100644 --- a/tests/interactive_doc/test_recursive_url.py +++ b/tests/interactive_doc/test_recursive_url.py @@ -53,3 +53,7 @@ class TestRecursiveUrlViewSets(TestCase): '$ coreapi action {} retrieve_alt {}'.format(' '.join(route), method) in self.content, 'unable to find shell code snippet for {}'.format(subpath) ) + self.assertTrue( + re.search('
  • ]*>\s*{}'.format(subpath, method), self.content), + 'unable to find sidebar link for {}'.format(subpath) + )