

def test_plugins_info(self):
    cluster = self.env.create_cluster(api=False)
    plugin = cluster.env.create_plugin(api=False, cluster=cluster)
    plugin_kwargs = self.env.get_default_plugin_metadata()
    plugin_kwargs['id'] = plugin.id
    for (name, expected) in six.iteritems(plugin_kwargs):
        actual = getattr(plugin, name)
        self.assertEqual(expected, actual)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/unit/fuel_statistics_tests/test_installation_info.py TestInstallationInfo.test_plugins_info/VarMisuse@25/29 `self`->`cluster`