~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_help.py

  • Committer: Robert Collins
  • Date: 2007-04-23 00:24:53 UTC
  • mto: This revision was merged to the branch mainline in revision 2441.
  • Revision ID: robertc@robertcollins.net-20070423002453-6mw8b5sexbmlqer9
Review feedback and put help.command_usage back in as a deprecated function.

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')
 
53
        self.assertStartsWith(helptext, 'usage: bzr Demo')
54
54
        self.assertEndsWith(helptext, 'show help message\n')
55
55
 
56
56
    def test_command_with_additional_see_also(self):