'tests building the help text'

def test_generate_help_text(self):

    self.shell.completer = None
    (description, example) = self.shell.generate_help_text('')
    self.assertEqual(description, '')
    self.assertEqual(example, '')
    self.shell.completer = TestCompleter()
    (description, example) = self.shell.generate_help_text('friendship    --calls')
    self.assertEqual(description, ('--calls:\n' + 'call    the    friends'))
    self.assertEqual(example, space_examples('use    with    care', 25, 1))
