~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-01 19:18:09 UTC
  • mfrom: (6459 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6460.
  • Revision ID: jelmer@samba.org-20120201191809-xn340a5i5v4fqsfu
Merge bzr.dev.

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