'Extend the base cleanup feature with support for cleanup functions which
return Deferreds.
If the function C{f} returns a Deferred, C{TestCase} will wait until the
Deferred has fired before proceeding to the next function.'

def addCleanup(self, f, *args, **kwargs):

    return super(TestCase, self).addCleanup(f, *args, **kwargs)
