def test_plot(self): il = Illuminant("D65.mat") self.assertRaises(Exception, il.plot("energy")) self.assertRaises(Exception, il.plot("photons"))