class SimpleGraphTest(AbstractGraphTest, unittest.TestCase): def setUp(self): self.graph = SimpleGraph() self.a = self.graph.add_node() self.b = self.graph.add_node() self.ab = self.graph.add_edge(self.a, self.b)
def setUp(self): self.graph = SimpleGraph() self.a = self.graph.add_node() self.b = self.graph.add_node() self.ab = self.graph.add_edge(self.a, self.b)