def icon(self): """ Returns the provider's icon """ return GuiUtils.get_icon("providerR.svg")
def testGetIcon(self): """ Tests get_icon """ self.assertFalse(GuiUtils.get_icon('providerR.svg').isNull()) self.assertTrue(GuiUtils.get_icon('not_an_icon.svg').isNull())