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