629
603
def test_default_search_path(self):
630
604
"""The default search path should include internal indexs."""
631
605
indices = help.HelpIndices()
633
607
# help topics should be searched in first.
634
608
self.assertIsInstance(indices.search_path[0],
636
610
# with commands being search second.
637
611
self.assertIsInstance(indices.search_path[1],
640
614
self.assertIsInstance(indices.search_path[2],
646
617
def test_search_for_unknown_topic_raises(self):
647
618
"""Searching for an unknown topic should raise NoHelpTopic."""