

def get_default_plugin_metadata(self, **kwargs):
    sample_plugin = {
        'version': '0.1.0',
        'name': 'testing_plugin',
        'title': 'Test plugin',
        'package_version': '1.0.0',
        'description': 'Enable to use plugin X for Neutron',
        'fuel_version': ['6.0'],
        'groups': [],
        'licenses': ['License 1'],
        'authors': ['Author1'],
        'homepage': 'http://some-plugin-url.com/',
        'is_hotpluggable': False,
        'releases': [{
            'repository_path': 'repositories/ubuntu',
            'version': '2014.2-6.0',
            'os': 'ubuntu',
            'mode': ['ha', 'multinode'],
            'deployment_scripts_path': 'deployment_scripts/',
        }, {
            'repository_path': 'repositories/centos',
            'version': '2014.2-6.0',
            'os': 'centos',
            'mode': ['ha', 'multinode'],
            'deployment_scripts_path': 'deployment_scripts/',
        }, {
            'repository_path': 'repositories/ubuntu',
            'version': '2015.1-8.0',
            'os': 'ubuntu',
            'mode': ['ha', 'multinode'],
            'deployment_scripts_path': 'deployment_scripts/',
        }],
    }
    sample_plugin.update(kwargs)
    return self

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py EnvironmentManager.get_default_plugin_metadata/VarMisuse@193/408 `sample_plugin`->`self`