Define 'delete_snapshot' method as a static method
Change-Id: I1421210c2c2a9f0356b3c089fe90503ae4d22ab3
diff --git a/tempest/api/volume/base.py b/tempest/api/volume/base.py
index d21f380..704784d 100644
--- a/tempest/api/volume/base.py
+++ b/tempest/api/volume/base.py
@@ -171,7 +171,8 @@
client.delete_volume(volume_id)
client.wait_for_resource_deletion(volume_id)
- def delete_snapshot(self, client, snapshot_id):
+ @staticmethod
+ def delete_snapshot(client, snapshot_id):
"""Delete snapshot by the given client"""
client.delete_snapshot(snapshot_id)
client.wait_for_resource_deletion(snapshot_id)