

def test_missing_node_data_bag(self):
    'Should raise RepoError when there is no node data bag'
    nodes = chef._load_data('nodes')
    with patch('kitchen.backends.lchef.DATA_BAG_PATH', 'badpath'):
        self.assertRaises(chef.RepoError, chef._load_extended_node_data, nodes)

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