diff options
| -rw-r--r-- | nova/tests/image/test_s3.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/image/test_s3.py b/nova/tests/image/test_s3.py index 1775fe131..8cdde1dc6 100644 --- a/nova/tests/image/test_s3.py +++ b/nova/tests/image/test_s3.py @@ -98,7 +98,7 @@ class TestS3ImageService(test.TestCase): fake.stub_out_image_service(self.stubs) self.image_service = s3.S3ImageService() - self.addCleanup(ec2utils.reset_cache) + ec2utils.reset_cache() def tearDown(self): super(TestS3ImageService, self).tearDown() |
