Skip to content

Commit

Permalink
Changed the teardown() to tearDownClass() to match the setUpClass().
Browse files Browse the repository at this point in the history
Fixes LP bug 993596

Change-Id: I0a9aa3998fde200b7373dac325617de06d3f1770
  • Loading branch information
donald-ngo committed May 2, 2012
1 parent bb19daa commit b1aac83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tempest/tests/test_volumes_list.py
Expand Up @@ -25,7 +25,8 @@ def setUpClass(cls):
cls.volume_list.append(volume)
cls.volume_id_list.append(volume['id'])

def teardown(cls):
@classmethod
def tearDownClass(cls):
#Delete the created Volumes
for i in range(3):
resp, _ = cls.client.delete_volume(cls.volume_id_list[i])
Expand Down

0 comments on commit b1aac83

Please sign in to comment.