def testGetIconSvg(self): """ Tests get_icon svg path """ self.assertTrue(GuiUtils.get_icon_svg('providerR.svg')) self.assertIn('providerR.svg', GuiUtils.get_icon_svg('providerR.svg')) self.assertFalse(GuiUtils.get_icon_svg('not_an_icon.svg'))
def svgIconPath(self): """ Returns a path to the provider's icon as a SVG file """ return GuiUtils.get_icon_svg("providerR.svg")