~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_options.py

  • Committer: Aaron Bentley
  • Date: 2007-08-09 05:16:53 UTC
  • mto: (2681.5.3 bzr-mail)
  • mto: This revision was merged to the branch mainline in revision 2690.
  • Revision ID: aaron.bentley@utoronto.ca-20070809051653-cal7k9ih3e37f7ip
Display correct help message in from_kwargs

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
            be_long='go long', value_switches=True)
152
152
        self.assertEqual(['my-option', 'be-long', 'short'],
153
153
            [x[0] for x in my_option.iter_switches()])
 
154
        self.assertEqual('test option', my_option.help)
154
155
 
155
156
    def test_help(self):
156
157
        registry = bzrdir.BzrDirFormatRegistry()