Define 'delete_volume' method as a static method
There is not need to define 'delete_volume' method as a class method
Change-Id: Ibb9c0013aa05cbae8d571eecc505e0d3f906f879
diff --git a/tempest/api/volume/base.py b/tempest/api/volume/base.py
index 90dc7f4..c9060af 100644
--- a/tempest/api/volume/base.py
+++ b/tempest/api/volume/base.py
@@ -165,8 +165,8 @@
# NOTE(afazekas): these create_* and clean_* could be defined
# only in a single location in the source, and could be more general.
- @classmethod
- def delete_volume(cls, client, volume_id):
+ @staticmethod
+ def delete_volume(client, volume_id):
"""Delete volume by the given client"""
client.delete_volume(volume_id)
client.wait_for_resource_deletion(volume_id)