~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to testweave.py

  • Committer: Martin Pool
  • Date: 2005-06-30 08:17:18 UTC
  • mto: This revision was merged to the branch mainline in revision 852.
  • Revision ID: mbp@sourcefrog.net-20050630081718-ad66591972dde48d
New Weave.get_included() does transitive expansion

Show diffs side-by-side

added added

removed removed

Lines of Context:
510
510
                         ["first line",
511
511
                          "alternative second line"])
512
512
 
 
513
        self.assertEqual(k.get_included(2),
 
514
                         set([0, 2]))
 
515
 
513
516
 
514
517
 
515
518
class ReplaceLine(TestBase):
556
559
                          (2, 'line from 2'),
557
560
                          ])
558
561
 
 
562
        self.assertEqual(k.get_included(3),
 
563
                         set([0, 1, 2, 3]))
 
564
 
559
565
        self.log('k._l=' + pformat(k._l))
560
566
 
561
567
        self.check_read_write(k)