/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 breezy/tests/blackbox/test_branches.py

  • Committer: Jelmer Vernooij
  • Date: 2020-05-24 00:39:50 UTC
  • mto: This revision was merged to the branch mainline in revision 7504.
  • Revision ID: jelmer@jelmer.uk-20200524003950-bbc545r76vc5yajg
Add github action.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""Black-box tests for brz branches."""
19
19
 
20
 
from breezy.controldir import ControlDir
 
20
from breezy.bzr.bzrdir import BzrDir
21
21
from breezy.tests import TestCaseWithTransport
22
22
 
23
23
 
80
80
 
81
81
    def test_shared_repos(self):
82
82
        self.make_repository('a', shared=True)
83
 
        ControlDir.create_branch_convenience('a/branch1')
84
 
        b = ControlDir.create_branch_convenience('a/branch2')
 
83
        BzrDir.create_branch_convenience('a/branch1')
 
84
        b = BzrDir.create_branch_convenience('a/branch2')
85
85
        b.create_checkout(lightweight=True, to_location='b')
86
86
        out, err = self.run_bzr('branches b')
87
87
        self.assertEqual(out, "  branch1\n"