/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

  • Committer: Ian Clatworthy
  • Date: 2007-08-06 08:25:46 UTC
  • mto: (2674.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2675.
  • Revision ID: ian.clatworthy@internode.on.net-20070806082546-oup6ujeleehqoqfj
Bazaar User Reference generated from online help

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
            """A sample command."""
51
51
        cmd = cmd_Demo()
52
52
        helptext = cmd.get_help_text()
53
 
        self.assertStartsWith(helptext, 'usage: bzr Demo')
54
 
        self.assertEndsWith(helptext, 'Show help message.\n')
 
53
        self.assertStartsWith(helptext, 'Purpose: A sample command.')
 
54
        self.assertContainsRe(helptext, 'Usage:   bzr Demo')
 
55
        self.assertEndsWith(helptext, 'Show help message.\n\n')
55
56
 
56
57
    def test_command_with_additional_see_also(self):
57
58
        class cmd_WithSeeAlso(commands.Command):