17
17
"""Test the linegraph functionality."""
24
29
from bzrlib.plugins.gtk.branchview.linegraph import linegraph
27
32
class TestLinegraph(tests.TestCase):
33
lg = linegraph(self.get_graph({"A": ("B", "C"), "B": ()}), ["A"])
37
lg = linegraph(self.get_graph({"A": ("B", "C"), "B": ()}), ["A"])
36
40
['A', (0, 0), [(0, 0, 0)], ['B'], [], (2,)],
37
41
['B', (0, 0), [], (), ['A'], (1,)]