~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_selftest.py

  • Committer: Aaron Bentley
  • Date: 2006-08-03 23:22:23 UTC
  • mto: This revision was merged to the branch mainline in revision 1934.
  • Revision ID: aaron.bentley@utoronto.ca-20060803232223-e079f5b9aeadb19f
Fix the bad option test

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
        result = self.run_bzr_subprocess('--versionn', retcode=3)
153
153
        result = self.run_bzr_subprocess('--versionn', retcode=None)
154
154
        self.assertContainsRe(result[1], 'unknown command')
155
 
        err = self.run_bzr_subprocess('merge', '--magic merge', retcode=3)[1]
156
 
        self.assertContainsRe(err, 'No known merge type magic merge')
 
155
        err = self.run_bzr_subprocess('merge', '--magic-merge', retcode=3)[1]
 
156
        self.assertContainsRe(err, 'no such option: --magic-merge')
157
157
 
158
158
 
159
159
class TestRunBzrError(ExternalBase):