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