

def _set_additional_component(self, cluster, component, value):
    attrs = copy.deepcopy(value.attributes.editable)
    attrs['additional_components'][component]['value'] = value
    self.app.patch(reverse('ClusterAttributesHandler', kwargs={
        'cluster_id': cluster.id,
    }), params=jsonutils.dumps({
        'editable': attrs,
    }), headers=self.default_headers)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py EnvironmentManager._set_additional_component/VarMisuse@22/26 `cluster`->`value`