~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_branch.py

  • Committer: Martin Pool
  • Date: 2008-07-15 04:43:19 UTC
  • mto: This revision was merged to the branch mainline in revision 3542.
  • Revision ID: mbp@sourcefrog.net-20080715044319-wy26hdr8kvrb0ne9
Rename branch.get_stacked_on to get_stacked_on_url

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
        """
108
108
        new_branch = branch.Branch.open('newbranch')
109
109
        # The branch refers to the mainline
110
 
        self.assertEqual(stacked_on, new_branch.get_stacked_on())
 
110
        self.assertEqual(stacked_on, new_branch.get_stacked_on_url())
111
111
        # and the branch's work was pushed
112
112
        self.assertTrue(new_branch.repository.has_revision(branch_revid))
113
113
        # The newly committed revision shoud be present in the stacked branch,