'Ensure exception will be returned.'

def test_create_volume_type_with_invalid_params(self):

    vol_type_invalid_specs = 'invalid_extra_specs'
    self.assertRaises(exception.VolumeTypeCreateFailed, volume_types.create, self.ctxt, self.vol_type1_name, vol_type_invalid_specs)
