'Verify execution of delegated widget method'

def testDelegation(self):

    widget = self.widget
    agent = widget.create_agent('agent', config={'param': 'live'})
    context = {'param': 'test'}
    output = agent.do('command', context)
    self.assertIn('param', output)
    self.assertEqual(output['param'], 'live,test')
