@patch('kitchen.backends.lchef.KITCHEN_DIR', '/badrepopath/')
    def test_bad_repo(self):
        self.assertRaises(chef.RepoError, chef._check_kitchen)
Should raise RepoError when the kitchen is not found
dataset/ETHPy150Open edelight/kitchen/kitchen/backends/tests.py/TestRepo.test_bad_repo