~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-07 01:01:07 UTC
  • mfrom: (1185.13.2)
  • Revision ID: robertc@robertcollins.net-20051007010107-fe48434051a15b92
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('.')