Add a hook to allow overriding the remote module that's executed by execnet

This commit is contained in:
bwilson
2018-11-12 13:29:39 -06:00
parent 1efec5a153
commit 7fb7bd9d04
2 changed files with 13 additions and 1 deletions

View File

@@ -30,6 +30,11 @@ def pytest_xdist_rsyncfinish(source, gateways):
""" called after rsyncing a directory to remote gateways takes place. """
@pytest.mark.firstresult
def pytest_xdist_getremotemodule():
""" called when creating remote node"""
def pytest_configure_node(node):
""" configure node information before it gets instantiated. """