t.t.u.T.addCleanup(self, f, *args, **kwargs) : method documentation

Part of twisted.trial.unittest.TestCase View Source

Extend the base cleanup feature with support for cleanup functions which return Deferreds.

If the function f returns a Deferred, TestCase will wait until the Deferred has fired before proceeding to the next function.

API Documentation for Twisted, generated by pydoctor at 2015-04-13 15:26:48.