/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_graph.py

  • Committer: Aaron Bentley
  • Date: 2007-07-26 19:56:04 UTC
  • mto: This revision was merged to the branch mainline in revision 2657.
  • Revision ID: abentley@panoramicfeedback.com-20070726195604-707eq8fs9px91yjc
correctly handle Graph.is_ancestor(x, x)

Show diffs side-by-side

added added

removed removed

Lines of Context:
321
321
 
322
322
    def test_is_ancestor(self):
323
323
        graph = self.make_graph(ancestry_1)
 
324
        self.assertEqual(True, graph.is_ancestor('null:', 'null:'))
324
325
        self.assertEqual(True, graph.is_ancestor('null:', 'rev1'))
325
326
        self.assertEqual(False, graph.is_ancestor('rev1', 'null:'))
326
327
        self.assertEqual(True, graph.is_ancestor('null:', 'rev4'))