Comment 12 for bug 1257641

Revision history for this message
Attila Fazekas (afazekas) wrote :

If server creation failed in a setUpClass the tearDownClass will not be called.

The setUpClasses should have decorator which
 - re raise the original exception
 - calls the tearDownclass (log the exception from the tear down)
 - the decorator should be replacement of the classmethod decorator, and used only with setUpClasses.

The tearDowns needs to be prepared to a partially executed setUpClass.