~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-02-07 23:06:59 UTC
  • mfrom: (2221.4.17 registryoption)
  • Revision ID: pqm@pqm.ubuntu.com-20070207230659-d4b568ed7b4cec4e
Use a Registry for merge-type options

Show diffs side-by-side

added added

removed removed

Lines of Context:
262
262
        self.assertContainsRe(result[1], 'unknown command')
263
263
        err = self.run_bzr_subprocess('merge', '--merge-type', 'magic merge', 
264
264
                                      retcode=3)[1]
265
 
        self.assertContainsRe(err, 'No known merge type magic merge')
 
265
        self.assertContainsRe(err, 'Bad value "magic merge" for option'
 
266
                              ' "merge-type"')
266
267
 
267
268
    def test_run_bzr_subprocess_env(self):
268
269
        """run_bzr_subprocess can set environment variables in the child only.