'Create a test volume-type'

@classmethod
def create_volume_type(cls, name=None, **kwargs):

    name = (name or data_utils.rand_name((cls.__name__ + '-volume-type')))
    volume_type = cls.admin_volume_types_client.create_volume_type(name=name, **kwargs)['volume_type']
    cls.volume_types.append(volume_type['id'])
    return volume_type
