def setUp(self): super(CloudpipeTest, self).setUp() self.controller = cloudpipe.CloudpipeController() self.stubs.Set(self.controller.compute_api, "get_all", compute_api_get_all_empty) self.stubs.Set(db, "security_group_exists", db_security_group_exists) self.stubs.Set(utils, 'vpn_ping', utils_vpn_ping)
def setUp(self): super(CloudpipeTest, self).setUp() self.controller = cloudpipe.CloudpipeController() self.stubs.Set(self.controller.compute_api, "get_all", compute_api_get_all_empty) self.stubs.Set(utils, 'vpn_ping', utils_vpn_ping)