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.
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.