'create a test Qos-Specs.'

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

    name = (name or data_utils.rand_name((cls.__name__ + '-QoS')))
    consumer = (consumer or 'front-end')
    qos_specs = cls.admin_volume_qos_client.create_qos(name=name, consumer=consumer, **kwargs)['qos_specs']
    cls.qos_specs.append(qos_specs['id'])
    return qos_specs
