/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_help.py

Merge bzr.dev

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
 
204
212
    def test_get_help_topic(self):
205
213
        """The help topic for a RegisteredTopic is its topic from construction."""
206
214
        topic = help_topics.RegisteredTopic('foobar')