~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_help.py

  • Committer: John Arbash Meinel
  • Date: 2008-08-25 21:50:11 UTC
  • mfrom: (0.11.3 tools)
  • mto: This revision was merged to the branch mainline in revision 3659.
  • Revision ID: john@arbash-meinel.com-20080825215011-de9esmzgkue3e522
Merge in Lukáš's helper scripts.
Update the packaging documents to describe how to do the releases
using bzr-builddeb to package all distro platforms
simultaneously.

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')