def failToPingFromAll(self, addr): for node in list(self.nodes.values()): self.assertFalse(node.ping(addr, timeout=3))
def pingFromAll(self, addr): for node in list(self.nodes.values()): self.assertTrue(node.ping(addr))
def failToPingFromAll(self, addr): for node in list(self.nodes.values()): self.assertFalse(node.ping(addr, timeout=3000))