/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/blackbox/test_rmbranch.py

  • Committer: Martin Packman
  • Date: 2011-11-24 12:11:56 UTC
  • mfrom: (6285 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6287.
  • Revision ID: martin.packman@canonical.com-20111124121156-s5b055v8gig16b02
Merge bzr.dev to resolve conflict in bb.test_rmbranch

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
        dir = bzrdir.BzrDir.open('a')
69
69
        self.assertFalse(dir.has_branch('otherbranch'))
70
70
        self.assertTrue(dir.has_branch())
 
71
 
 
72
 
 
73
class TestSmartServerRemoveBranch(TestCaseWithTransport):
 
74
 
 
75
    def test_simple_remove_branch(self):
 
76
        self.setup_smart_server_with_call_log()
 
77
        self.make_branch('branch')
 
78
        self.reset_smart_call_log()
 
79
        out, err = self.run_bzr(['rmbranch', self.get_url('branch')])
 
80
        # This figure represent the amount of work to perform this use case. It
 
81
        # is entirely ok to reduce this number if a test fails due to rpc_count
 
82
        # being too low. If rpc_count increases, more network roundtrips have
 
83
        # become necessary for this use case. Please do not adjust this number
 
84
        # upwards without agreement from bzr's network support maintainers.
 
85
        self.assertLength(18, self.hpss_calls)