~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_request.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-07-27 09:33:30 UTC
  • mfrom: (4556.2.10 hpss-push-tags)
  • Revision ID: pqm@pqm.ubuntu.com-20090727093330-882xn6s1tt1zbnw6
(andrew) Add Branch.set_tags_bytes verb, removing more VFS calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
            ('NoSuchFile', 'path'), errors.NoSuchFile('path'))
160
160
 
161
161
    def test_LockContention(self):
 
162
        # For now, LockContentions are always transmitted with no details.
 
163
        # Eventually they should include a relpath or url or something else to
 
164
        # identify which lock is busy.
162
165
        self.assertTranslationEqual(
163
 
            ('LockContention', 'lock', 'msg'),
164
 
            errors.LockContention('lock', 'msg'))
 
166
            ('LockContention',), errors.LockContention('lock', 'msg'))
165
167
 
166
168
    def test_TokenMismatch(self):
167
169
        self.assertTranslationEqual(