~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 00:52:53 UTC
  • Revision ID: robertc@robertcollins.net-20051006005253-415c38ad22094f13
define some expected behaviour for inventory_entry.snapshot

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'))
45
42
 
46
43
    def test_none_is_always_an_ancestor(self):
47
44
        b = Branch.initialize('.')