~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_options.py

  • Committer: Aaron Bentley
  • Date: 2006-07-12 18:29:14 UTC
  • mto: This revision was merged to the branch mainline in revision 1934.
  • Revision ID: abentley@panoramicfeedback.com-20060712182914-07828d7ebd523ead
Use optparse for parsing options

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
    def test_unknown_short_opt(self):
46
46
        out, err = self.run_bzr_captured(['help', '-r'], retcode=3)
47
 
        self.assertContainsRe(err, r'unknown option')
 
47
        self.assertContainsRe(err, r'no such option')
48
48
 
49
49
    def test_allow_dash(self):
50
50
        """Test that we can pass a plain '-' as an argument."""