'Test an asynchronous failure on a remote method call.'

def test_asyncFail(self):

    o = LocalRemoteTest()
    d = o.callRemote('fail')
    def eb(f):
        self.assertIsInstance(f, failure.Failure)
        f.trap(RuntimeError)
    d.addCallbacks((lambda res: self.fail('supposed    to    fail')), eb)
    return d
