/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_push.py

  • Committer: Jelmer Vernooij
  • Date: 2017-07-23 17:17:18 UTC
  • mto: This revision was merged to the branch mainline in revision 6743.
  • Revision ID: jelmer@jelmer.uk-20170723171718-e6digv00ohocq7uq
Move UnstackableBranchFormat.

Show diffs side-by-side

added added

removed removed

Lines of Context:
561
561
        self.make_branch('from', format='pack-0.92')
562
562
        out, err = self.run_bzr('push -d from to')
563
563
        b = branch.Branch.open('to')
564
 
        self.assertRaises(errors.UnstackableBranchFormat, b.get_stacked_on_url)
 
564
        self.assertRaises(branch.UnstackableBranchFormat, b.get_stacked_on_url)
565
565
 
566
566
    def test_push_doesnt_create_broken_branch(self):
567
567
        """Pushing a new standalone branch works even when there's a default