def check_view_no(node1, node2):
    assert (node1.master_replica.viewNo == node2.master_replica.viewNo), '{} != {}'.format(node1.master_replica.viewNo, node2.master_replica.viewNo)
def check_view_no(node1, node2):
    assert (node1.master_replica.viewNo == node2.master_replica.viewNo), '{} != {}'.format(node1.master_replica.viewNo, node2.master_replica.viewNo)