'A test which fails in the callback of the returned L{defer.Deferred}.'

def test_fail(self):

    d = defer.Deferred()
    d.addCallback(self._later)
    reactor.callLater(0, d.callback, None)
    return d
