~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_push.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:
285
285
        """Assert that the branch 'published' has been published correctly."""
286
286
        published_branch = Branch.open('published')
287
287
        # The published branch refers to the mainline
288
 
        self.assertEqual(stacked_on, published_branch.get_stacked_on())
 
288
        self.assertEqual(stacked_on, published_branch.get_stacked_on_url())
289
289
        # and the branch's work was pushed
290
290
        self.assertTrue(published_branch.repository.has_revision(branch_revid))
291
291