@classmethod
    def inject_plugin_attribute_values(cls, attributes):
        for k, attrs in six.iteritems(attributes):
            if (not cls.is_plugin_data(attrs) or
                    not attrs['metadata']['enabled']):
                continue
            metadata = attrs['metadata']
            selected_plugin_attrs = cls._get_specific_version(
                metadata.get('versions', []),
                metadata.get('chosen_id'))
            selected_plugin_attrs.pop('metadata', None)

            dict_update(attrs, selected_plugin_attrs, 1)
INTEGRATION: try test_and_set operation
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/plugins/manager.py/PluginManager.inject_plugin_attribute_values--crossover with--dataset/ETHPy150Open jplana/python-etcd/src/etcd/tests/integration/test_simple.py/TestErrors.test_test_and_set