def METHOD_NAME(
    app_api_client, channel_USD, permission_manage_channels
):
    # given
    channel_USD.store_value_in_metadata({PUBLIC_KEY: PUBLIC_VALUE})
    channel_USD.save(update_fields=["metadata"])
    variables = {"id": graphene.Node.to_global_id("Channel", channel_USD.pk)}
    # when
    response = app_api_client.post_graphql(
        QUERY_CHANNEL_PUBLIC_META,
        variables,
        [permission_manage_channels],
        check_no_permissions=False,
    )
    content = get_graphql_content(response)
    # then
    metadata = content["data"]["channel"]["metadata"][0]
    assert metadata["key"] == PUBLIC_KEY
    assert metadata["value"] == PUBLIC_VALUE