'Test the sendRobust function'

def testRobust(self):

    def fails(val, **kwargs):
        raise ValueError('this')
    a_signal.connect(fails)
    result = a_signal.send_robust(sender=self, val='test')
    err = result[0][1]
    self.assert_(isinstance(err, ValueError))
    self.assertEqual(err.args, ('this',))
    a_signal.disconnect(fails)
    self._testIsClean(a_signal)
