def METHOD_NAME(self):
    channel_id = self.channel.id
    url = reverse_lazy("get_node_tree_data")
    response = self.post(url, {"channel_id": channel_id})
    assert response.status_code == 200
    response_json = response.json()
    response_json["children"] = response_json[
        "tree"
    ]  # hack because diff function checks 'children'
    del response_json["tree"]
    diff = compare_trees_children(
        response_json,
        self.expected_tree,
        attrs=["title", "node_id", "kind"],
        mapB={"kind": "kind_id"},
        recursive=False,
    )
    assert not diff, "Found difference in tree structures:" + str(diff)