Example #1
0
def test_client_can_connect():
    from pseud import SyncClient
    endpoint = 'inproc://{}'.format(__name__).encode()
    client = SyncClient()
    client.connect(endpoint)
    client.stop()
Example #2
0
def test_client_can_bind(loop):
    from pseud import SyncClient
    endpoint = 'inproc://{}'.format(__name__).encode()
    client = SyncClient()
    client.bind(endpoint)
    client.stop()
Example #3
0
def test_client_can_connect(loop):
    from pseud import SyncClient
    endpoint = 'inproc://{}'.format(__name__).encode()
    client = SyncClient()
    client.connect(endpoint)
    client.stop()
Example #4
0
def test_client_can_bind():
    from pseud import SyncClient
    endpoint = 'inproc://{}'.format(__name__).encode()
    client = SyncClient()
    client.bind(endpoint)
    client.stop()