def test_peer_connectivity(self, name, peer_type="REPLICATION"):
    """
    Test connectivity for a replication peer.

    @param name: The name of the peer to test.
    @param peer_type: Added in v11. The type of the peer to test. Defaults to 'REPLICATION'.
    @return: The command representing the test.
    @since: API v3
    """
    params = self._get_peer_type_param(peer_type)
    return self._post("peers/%s/commands/test" % name, ApiCommand, params=params,
        api_version=3)
def test_peer_connectivity ( self , name , peer_type = "REPLICATION" ) : params = self . _get_peer_type_param ( peer_type ) return self . _post ( "peers/%s/commands/test" % name , ApiCommand , params = params , api_version = 3 )
Test connectivity for a replication peer.

    @param name: The name of the peer to test.
    @param peer_type: Added in v11. The type of the peer to test. Defaults to 'REPLICATION'.
    @return: The command representing the test.
    @since: API v3