~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/test_ancestry.py

  • Committer: Robert Collins
  • Date: 2005-10-06 22:15:52 UTC
  • mfrom: (1185.13.2)
  • mto: This revision was merged to the branch mainline in revision 1420.
  • Revision ID: robertc@robertcollins.net-20051006221552-9b15c96fa504e0ad
mergeĀ fromĀ upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
                 rev_id='tester@foo--2')
40
40
 
41
41
        ancs = b.get_ancestry('tester@foo--2')
 
42
        self.assertEqual([None, 'tester@foo--1', 'tester@foo--2'], ancs)
 
43
        self.assertEqual([None, 'tester@foo--1'], 
 
44
                         b.get_ancestry('tester@foo--1'))
42
45
 
43
46
    def test_none_is_always_an_ancestor(self):
44
47
        b = Branch.initialize('.')