~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_help.py

  • Committer: Martin Pool
  • Date: 2007-10-12 08:00:07 UTC
  • mto: This revision was merged to the branch mainline in revision 2913.
  • Revision ID: mbp@sourcefrog.net-20071012080007-vf80woayyom8s8e1
Rename update_to_one_parent_via_delta to more wieldy update_basis_by_delta

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
            '\n'
202
202
            'See also: bar, foo\n')
203
203
 
204
 
    def test_get_help_text_loaded_from_file(self):
205
 
        # Pick a known topic stored in an external file
206
 
        topic = help_topics.RegisteredTopic('hooks')
207
 
        self.assertStartsWith(topic.get_help_text(),
208
 
            'Hooks\n'
209
 
            '=====\n'
210
 
            '\n')
211
 
 
212
204
    def test_get_help_topic(self):
213
205
        """The help topic for a RegisteredTopic is its topic from construction."""
214
206
        topic = help_topics.RegisteredTopic('foobar')