def call_fut(self, descendant, ancestors): from adhocracy_core.graph import Graph context = testing.DummyResource(__objectmap__=self.context.__objectmap) graph = Graph(context) return Graph.is_in_subtree(graph, descendant, ancestors)