'L{defer.Deferred.addTimeout} returns its own L{defer.Deferred} so it
can be called in a callback chain.'

def test_timeoutChainable(self):

    d = defer.Deferred().addTimeout(5, Clock()).addCallback((lambda _: 'done'))
    d.callback(None)
    self.assertEqual('done', self.successResultOf(d))
