def METHOD_NAME(self, rnd_tmp_folder, mocker):
    mocker.patch("pathlib.Path.mkdir", side_effect=OSError)
    with pytest.raises(CuckooOperationalError):
        utils.create_folder(root="/tmp", folder=rnd_tmp_folder)