/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lockable_files.py

  • Committer: Andrew Bennetts
  • Date: 2007-03-29 06:46:28 UTC
  • mto: (2018.18.6 hpss-faster-copy)
  • mto: This revision was merged to the branch mainline in revision 2435.
  • Revision ID: andrew.bennetts@canonical.com-20070329064628-gdonyjmcedx7q8vh
Fix most of the lockable_files tests for RemoteBranchLockableFiles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
371
371
        # getting a new lockable involves opening a new instance of the branch
372
372
        branch = bzrlib.branch.Branch.open(self.get_url('foo'))
373
373
        return branch.control_files
374
 
 
375
 
    def test_lock_write_returns_None_refuses_token(self):
376
 
        # this test is not relevant for RemoteBranchLockableFiles as remote
377
 
        # locks are done directly from the remote branch object.
378
 
        return None
379
 
 
380
 
    def test_lock_write_raises_on_token_mismatch(self):
381
 
        # See test_lock_write_returns_None_refuses_token.
382
 
        return None
383
 
 
384
 
    def test_lock_write_with_matching_token(self):
385
 
        # See test_lock_write_returns_None_refuses_token.
386
 
        return None
387
 
 
388
 
    def test_unlock_after_lock_write_with_token(self):
389
 
        # See test_lock_write_returns_None_refuses_token.
390
 
        return None
391
 
 
392
 
    def test_lock_write_with_token_fails_when_unlocked(self):
393
 
        # See test_lock_write_returns_None_refuses_token.
394
 
        return None
395
 
 
396
 
    def test_lock_write_reenter_with_token(self):
397
 
        # See test_lock_write_returns_None_refuses_token.
398
 
        return None
399
 
 
400
 
    def test_leave_in_place(self):
401
 
        # See test_lock_write_returns_None_refuses_token.
402
 
        return None
403
 
 
404
 
    def test_dont_leave_in_place(self):
405
 
        # See test_lock_write_returns_None_refuses_token.
406
 
        return None
407
 
 
408
 
    def test_lock_write_returns_token_when_given_token(self):
409
 
        # See test_lock_write_returns_None_refuses_token.
410
 
        return None