~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_help.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-12 12:00:49 UTC
  • mfrom: (4119.3.3 Hooks.docs)
  • Revision ID: pqm@pqm.ubuntu.com-20090312120049-uxdmf2dfelp5ctva
(robertc) Migrate all hooks into the HookPoint infrastructure.
        (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
 
204
204
    def test_get_help_text_loaded_from_file(self):
205
205
        # Pick a known topic stored in an external file
206
 
        topic = help_topics.RegisteredTopic('hooks')
 
206
        topic = help_topics.RegisteredTopic('authentication')
207
207
        self.assertStartsWith(topic.get_help_text(),
208
 
            'Hooks\n'
209
 
            '=====\n'
 
208
            'Authentication Settings\n'
 
209
            '=======================\n'
210
210
            '\n')
211
211
 
212
212
    def test_get_help_topic(self):