def create_host_and_wait_for_host_up(self, params): host = self.create_host(params) Waiter.waitUntil(lambda : Waiter.host_is_up(self.api,host), 400) return host
def create_host_and_wait_for_host_up(self, params): host = self.create_host(params) Waiter.waitUntil(lambda: Waiter.host_is_up(self.api, host), 400) return host