from django.test import TestCase

from conman.nav_tree.handlers import SimpleHandler
from .. import handlers, views


class TestPageHandler(TestCase):
    def test_heritage(self):
        self.assertTrue(issubclass(handlers.PageHandler, SimpleHandler))

    def test_view(self):
        view = handlers.PageHandler.view
        expected = views.PageDetail.as_view()

        self.assertEqual(view.__name__, expected.__name__)
        self.assertEqual(view.__module__, expected.__module__)

@@ -165,32 +165,84 @@
 heritage(self):%0A
+        %22%22%22PageHandler subclasses SimpleHandler.%22%22%22%0A
         self.ass
@@ -316,32 +316,84 @@
 est_view(self):%0A
+        %22%22%22PageHandler uses the PageDetail view.%22%22%22%0A
         view = h

Add docstrings to pages.tests.test_handlers