Comment 1 for bug 938923

Revision history for this message
Jay Pipes (jaypipes) wrote :

There is no tearDownClass because there are no images created in the setUpClass method. Test methods that create images must clean up after themselves.

Each test method (such as test_create_delete_image() should be changed to use the following strategy:

    def test_blah(self):
        try:
            # Create servers and/or images
            # Test what needs to be tested
        finally:
            # Delete servers and images as needed