~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2007-10-05 04:43:17 UTC
  • mto: This revision was merged to the branch mainline in revision 2901.
  • Revision ID: mbp@sourcefrog.net-20071005044317-od7a5i2bi5fp0o4o
Pass back LockFailed from smart server lock methods

Show diffs side-by-side

added added

removed removed

Lines of Context:
550
550
        out, err = self.run_bzr(['commit', '--unchanged', '-mfoo', 'checkout'],
551
551
            retcode=3)
552
552
        self.assertContainsRe(err,
553
 
            r'^bzr: ERROR: Cannot lock.*readonly transport\n$')
 
553
            r'^bzr: ERROR: Cannot lock.*readonly transport')