def METHOD_NAME(
    self,
    mocked__get_client,
    mocked__get_policies,
    mocked_get_policy_definitions,
):
    """verify that client in the policy is honored for supports_offline"""
    m_policy = {
        "general": {
            "realm": "*",
            "active": "True",
            "client": "*",
            "user": "*",
            "time": "* * * * * *;",
            "action": "support_offline=qr",
            "scope": "authentication",
        }
    }
    mocked_get_policy_definitions.return_value = {
        "authentication": {
            "support_offline": {
                "type": "set",
                "value": ["qr", "u2f"],  # TODO: currently hardcoded
                "desc": "The token types that should support offline "
                "authentication",
            },
        }
    }
    mocked__get_policies.return_value = m_policy
    qr_token = Token("qr")
    mocked__get_client.return_value = "127.0.0.1"
    assert supports_offline(realms=["defaultrealm"], token=qr_token)
    mocked__get_client.return_value = "128.0.0.1"
    assert supports_offline(realms=["defaultrealm"], token=qr_token)
    m_policy["general"]["client"] = "127.0.0.1/24"
    mocked__get_client.return_value = "127.0.0.1"
    assert supports_offline(realms=["defaultrealm"], token=qr_token)
    mocked__get_client.return_value = "128.0.0.1"
    assert not supports_offline(realms=["defaultrealm"], token=qr_token)