def testGraphAdd(self): from textProcessor.core.graphCore import Graph graph = Graph() graph.addVertex("um") self.assertEqual(graph.getGraph(), {'um':1}, "An error ocurred during the insertion")