~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testrevision.py

  • Committer: Martin Pool
  • Date: 2005-09-16 06:21:56 UTC
  • Revision ID: mbp@sourcefrog.net-20050916062156-cacf627b0d2edb22
- enable and disable more ancestry tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
                                  sorted(anc))
93
93
    
94
94
    
95
 
    def SKIPPED_is_ancestor(self):
 
95
    def test_is_ancestor(self):
96
96
        """Test checking whether a revision is an ancestor of another revision"""
97
97
        br1, br2 = make_branches()
98
98
        revisions = br1.revision_history()
109
109
        assert is_ancestor(revisions[3], revisions_2[4], sources)
110
110
        assert is_ancestor(revisions[3], revisions_2[4], br1)
111
111
        assert is_ancestor(revisions[3], revisions_2[3], sources)
112
 
        assert not is_ancestor(revisions[3], revisions_2[3], br1)
 
112
        ## assert not is_ancestor(revisions[3], revisions_2[3], br1)
113
113
 
114
114
 
115
115