'Extract the generated event tracking context for a given request for the given path.'

def get_context_for_path(self, path):

    request = self.request_factory.get(path)
    return self.get_context_for_request(request)
