/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 bzrlib/tests/branch_implementations/test_push.py

  • Committer: Jelmer Vernooij
  • Date: 2009-05-28 16:04:39 UTC
  • mfrom: (4387 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4405.
  • Revision ID: jelmer@samba.org-20090528160439-4z0xlrk5nejobm7q
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
436
436
        self.assertTrue(len(self.hpss_calls) <= 9, self.hpss_calls)
437
437
 
438
438
 
 
439
class TestLossyPush(TestCaseWithBranch):
 
440
 
 
441
    def setUp(self):
 
442
        self.hook_calls = []
 
443
        TestCaseWithBranch.setUp(self)
 
444
 
 
445
    def test_lossy_push_raises_same_vcs(self):
 
446
        target = self.make_branch('target')
 
447
        source = self.make_branch('source')
 
448
        self.assertRaises(errors.LossyPushToSameVCS, source.lossy_push, target)