def test_resolve_all(self): """resolve_all() resolves in all Action properties""" act = Action('start') act.fromdict({ 'variables': { 'label': 'Start action', }, 'desc': "%label", 'cmd': 'service foo %ACTION' }) act.resolve_all() self.assertEqual(act.desc, "Start action") self.assertEqual(act.command, "service foo start")