~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_deprecated_graph.py

  • Committer: John Arbash Meinel
  • Date: 2009-02-23 15:29:35 UTC
  • mfrom: (3943.7.7 bzr.code_style_cleanup)
  • mto: This revision was merged to the branch mainline in revision 4033.
  • Revision ID: john@arbash-meinel.com-20090223152935-oel9m92mwcc6nb4h
Merge the removal of all trailing whitespace, and resolve conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
                    descendants[ancestor] = set()
46
46
                descendants[ancestor].add(node)
47
47
        return descendants
48
 
    
 
48
 
49
49
    def test_distances(self):
50
50
        descendants = self.node_descendants()
51
51
        distances = node_distances(self.graph, descendants, 'A')
69
69
class TestGraph(TestCase):
70
70
 
71
71
    def test_get_descendants(self):
72
 
        # Graph objects let you get a descendants graph in 
 
72
        # Graph objects let you get a descendants graph in
73
73
        # node: {direct-children:distance} which contains
74
74
        # known children, including ghost children
75
75
        graph = Graph()