Adding RemoteTarget class to wrap module/function

This commit is contained in:
bwilson
2018-11-13 10:37:37 -06:00
parent 5bb35b0f26
commit 311554324a
2 changed files with 27 additions and 6 deletions

View File

@@ -31,8 +31,11 @@ def pytest_xdist_rsyncfinish(source, gateways):
@pytest.mark.firstresult
def pytest_xdist_getremotemodule():
""" called when creating remote node"""
def pytest_xdist_getremotetarget():
"""
called to get the remote target.
:return: a workermanager.RemoteTarget
"""
def pytest_configure_node(node):