def test_navigation(self):
        from django.core.urlresolvers import NoReverseMatch

        self.client.login(username=get_staff_user().get_username(), password='password')
        self.assertRaises(NoReverseMatch, reverse, 'helpdesk_kb_index')
        try:
            response = self.client.get(reverse('helpdesk_dashboard'))
        except NoReverseMatch as e:
            if 'helpdesk_kb_index' in e.message:
                self.fail("Please verify any unchecked references to helpdesk_kb_index (start with navigation.html)")
            else:
                raise
        else:
            self.assertEqual(response.status_code, 200)
Test proper rendering of navigation.html by accessing the dashboard
dataset/ETHPy150Open rossp/django-helpdesk/helpdesk/tests/test_navigation.py/TestKBDisabled.test_navigation