def testPlotTitleLabels(self): """Create a Plot and set the labels""" plot = Plot(backend='none') title, xlabel, ylabel = 'the title', 'x label', 'y label' plot.setGraphTitle(title) plot.setGraphXLabel(xlabel) plot.setGraphYLabel(ylabel) self.assertEqual(plot.getGraphTitle(), title) self.assertEqual(plot.getGraphXLabel(), xlabel) self.assertEqual(plot.getGraphYLabel(), ylabel)