def METHOD_NAME(packages_path, skip_not_installed):
    # noinspection PyDefaultArgument
    def test_likelihood(_self):
        return _self.provider.get_CAMBdata().tau0
    test_likelihood_requires = {'CAMBdata': None, 'Pk_grid': dict(k_max=2, z=[0, 2])}
    model = _get_model(
        packages_path,
        {'external': test_likelihood, 'requires': test_likelihood_requires},
        skip_not_installed)
    assert np.isclose(model.loglike({})[0], 14165.63, rtol=1e-4), \
        "CAMBdata object result failed"