Deprecate rsync support

Fix #825
This commit is contained in:
Bruno Oliveira
2022-10-24 08:56:27 -03:00
committed by Bruno Oliveira
parent c168706fbe
commit ed65e888cf
4 changed files with 25 additions and 3 deletions

View File

@@ -24,12 +24,16 @@ def pytest_xdist_newgateway(gateway):
"""called on new raw gateway creation."""
@pytest.hookspec()
@pytest.hookspec(
warn_on_impl="rsync feature is deprecated and will be removed in pytest-xdist 4.0"
)
def pytest_xdist_rsyncstart(source, gateways):
"""called before rsyncing a directory to remote gateways takes place."""
@pytest.hookspec()
@pytest.hookspec(
warn_on_impl="rsync feature is deprecated and will be removed in pytest-xdist 4.0"
)
def pytest_xdist_rsyncfinish(source, gateways):
"""called after rsyncing a directory to remote gateways takes place."""