def setUp(self): self.app = self.layer['app'] self.portal = self.layer['portal'] self.compute = ComputeMapReduce(config.EDGE_WEIGHTS)