def test_inject_plugin_data(self):
        """Should add link data when plugin is applied"""
        chef.plugins = plugins.import_plugins(['monitoring'])
        node = {
            'fqdn': 'testnode',
            'kitchen': {'data': {'links': [{"foo": "bar"}], 'other': {}}}
        }
        chef.inject_plugin_data([node])
        self.assertTrue('other' in node['kitchen']['data'])
        self.assertEqual(len(node['kitchen']['data']['links']), 2)
dataset/ETHPy150Open edelight/kitchen/kitchen/backends/tests.py/TestPlugins.test_inject_plugin_data/original