diff --git a/trytond/tests/test_tryton.py b/trytond/tests/test_tryton.py index e38f99fe25..5e8e873e09 100644 --- a/trytond/tests/test_tryton.py +++ b/trytond/tests/test_tryton.py @@ -290,6 +290,15 @@ class ModuleTestCase(unittest.TestCase): msg="Button '%s' is not in %s._buttons" % (button_name, Model.__name__)) + @with_transaction() + def test_icon(self): + "Test icons of the module" + pool = Pool() + Icon = pool.get('ir.ui.icon') + icons = Icon.search([('module', '=', self.module)]) + for icon in icons: + self.assertTrue(icon.icon) + @with_transaction() def test_rpc_callable(self): 'Test that RPC methods are callable'