def send_pings(self, mnodes):
    for node in mnodes:
        sent = node.mnping()['sent']
        if ((sent != 'YES') and ('Too early to send Masternode Ping' not in sent)):
            raise AssertionError(('Unable to send ping: "sent" = %s' % sent))
        time.sleep(1)
def send_pings(self, mnodes):
    for node in mnodes:
        sent = node.mnping()['sent']
        if ((sent != 'YES') and ('Too early to send Masternode Ping' not in sent)):
            raise AssertionError(('Unable to send ping: "sent" = %s' % sent))
        time.sleep(1)