

def test_incomplete_node_data_bag(self):
    'Should raise RepoError when a node is missing its data bag item'
    nodes = chef._load_data('nodes')
    nodes.append({
        'name': 'extra_node',
    })
    self.assertRaises(chef.RepoError, chef._load_extended_node_data, nodes)

dataset/ETHPy150Open edelight/kitchen/kitchen/backends/tests.py TestRepo.test_incomplete_node_data_bag/original