~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

  • Committer: Patch Queue Manager
  • Date: 2012-01-28 13:24:39 UTC
  • mfrom: (6450.1.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20120128132439-phvlss4cq7bf5rji
(jelmer) Merge the 2.5 branch. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
589
589
        a_bzrdir.destroy_branch()
590
590
        self.assertFinished(client)
591
591
 
592
 
    def test_destroy_named(self):
593
 
        transport = self.get_transport('quack')
594
 
        referenced = self.make_branch('referenced')
595
 
        client = FakeClient(transport.base)
596
 
        client.add_expected_call(
597
 
            'BzrDir.destroy_branch', ('quack/', "foo"),
598
 
            'success', ('ok',)),
599
 
        a_bzrdir = RemoteBzrDir(transport, RemoteBzrDirFormat(),
600
 
            _client=client)
601
 
        a_bzrdir.destroy_branch("foo")
602
 
        self.assertFinished(client)
603
 
 
604
592
 
605
593
class TestBzrDirHasWorkingTree(TestRemote):
606
594