← Back to team overview

testtools-dev team mailing list archive

[Bug 584824] Re: hook to have a callable called after test methods return

 

The x/ _ was meant to indicate the return value from setUp/run/tearDown.

-- 
hook to have a callable called after test methods return
https://bugs.launchpad.net/bugs/584824
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.

Status in testtools: Triaged

Bug description:
E.g.

self.call_after_test_function(lambda _:storm.flush())

or

self.call_after_test_function(lambda x: reactor.run_until(x)) 

This would be useful for launchpad, and a step towards trial integration.