def _callFUT(self, resource, request): from pyramid.traversal import virtual_root return virtual_root(resource, request)
def _callFUT(self, model, request): from pyramid.traversal import virtual_root return virtual_root(model, request)