run setup in a subprocess created by xdist
<p>I need to execute some setup (like creating a socket) inside each of the processes created by xdist before the processes start running the tests. I have looked at the <a href="https://github.com/pytest-dev/pytest-xdist/blob/master/xdist/newhooks.py" rel="nofollow">hooks</a> provided by xdist, but both <code>pytest_configure_node()</code> and <code>pytest_testnodeready()</code> seem to be executed by the main process instead of the subprocesses. Is there a way to do this?
Thanks.</p>