def test_calculator_unix(cleanup): path = '/tmp/pycapnp-test' try: os.unlink(path) except OSError: pass address = 'unix:' + path test_examples.run_subprocesses(address, 'calculator_server.py', 'calculator_client.py')
def test_calculator_unix(cleanup): path = "/tmp/pycapnp-test" try: os.unlink(path) except OSError: pass address = "unix:" + path test_examples.run_subprocesses(address, "calculator_server.py", "calculator_client.py")
def test_calculator_tcp(cleanup): address = 'localhost:36431' test_examples.run_subprocesses(address, 'calculator_server.py', 'calculator_client.py', wildcard_server=True)