def METHOD_NAME(api_data):
    # The `api_data` test fixture sets some facts by default. We clear those here to
    # have a clean base to test the facts logic.
    del api_data["cluster"]["facts"]
    cluster = Cluster(api_data["cluster"], api_data["tenant"])
    assert cluster.facts == {}
    facts = {
        "fact_a": "value_a",
        "fact_b": "value_b",
    }
    api_data["cluster"]["facts"] = facts.copy()
    cluster = Cluster(api_data["cluster"], api_data["tenant"])
    assert cluster.facts == facts