def METHOD_NAME():
    parameters = ParameterNode(directory_path=LOCAL_DIR)
    parameters.rate.couple.tenant.add_child(
        "toto",
        Parameter(
            "toto",
            {
                "values": {
                    "2015-01-01": {"value": 1000},
                }
            },
        ),
    )
    P = parameters.rate("2015-01-01")
    housing_occupancy_status = np.asarray(["owner", "owner", "tenant", "tenant"])
    with pytest.raises(ValueError) as e:
        P.couple[housing_occupancy_status]
    assert "'rate.couple.tenant.toto' exists" in get_message(e.value)
    assert "'rate.couple.owner.toto' doesn't" in get_message(e.value)