~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_push.py

  • Committer: Robert J. Tanner
  • Date: 2009-06-10 03:56:49 UTC
  • mfrom: (4423 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4425.
  • Revision ID: tanner@real-time.com-20090610035649-7rfx4cls4550zc3c
Merge 1.15.1 back to trunk

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)