Exemple #1
0
def connection():
    """
    A loopback broker connection
    """
    connection = ManoBrokerRequestResponseConnection(
        "test-connection", is_loopback=True
    )
    yield connection
    connection.close()
Exemple #2
0
def connection():
    connection = Connection("test-connection", is_loopback=True)

    yield connection
    connection.close()