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