/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/per_branch/test_sprout.py

  • Committer: Jelmer Vernooij
  • Date: 2018-03-24 17:48:04 UTC
  • mfrom: (6921 work)
  • mto: This revision was merged to the branch mainline in revision 6923.
  • Revision ID: jelmer@jelmer.uk-20180324174804-xf22o05byoj12x1q
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    def test_sprout_branch_parent(self):
44
44
        source = self.make_branch('source')
45
45
        target = source.controldir.sprout(self.get_url('target')).open_branch()
46
 
        self.assertEqual(source.controldir.root_transport.base, target.get_parent())
 
46
        self.assertEqual(source.user_url, target.get_parent())
47
47
 
48
48
    def test_sprout_uses_bzrdir_branch_format(self):
49
49
        # branch.sprout(bzrdir) is defined as using the branch format selected