def allocate(self):
        self.logger.debug("Allocating environment.")
        self._allocate()
        self.logger.debug("Environment successfully allocated.")
Builds the context and the Hooks.
dataset/ETHPy150Open F-Secure/see/see/environment.py/Environment.allocate