~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_deprecated_graph.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-02-23 17:00:36 UTC
  • mfrom: (4032.1.4 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090223170036-3q1v68ewdt8i0to5
(Marius Kruger) Remove all trailing whitespace and add tests to
        enforce this.

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()