~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_options.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-08-09 15:19:06 UTC
  • mfrom: (2681.1.7 send-bundle)
  • Revision ID: pqm@pqm.ubuntu.com-20070809151906-hdn9oyslf2qib2op
Allow omitting -o for bundle, add --format

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