def METHOD_NAME(self, expected_connections=None):
    for i in range(3):
        self.mine_quorum(expected_connections=expected_connections)
    for mn in self.mninfo:
        assert(not self.check_punished(mn) and not self.check_banned(mn))