How to specify test timeout for python unittest?
<p>I'm using <code>python</code> framework <code>unittest</code>. Is it possible to specify by framework's abilities a timeout for test? If no, is it possible to specify gracefully a <code>timeout</code> for all tests and for some separated tests a private value for each one?<br>
I want to define a <code>global timeout</code> for all tests (they will use it by default) and a timeout for some test that can take a long time.</p>