From 8652ef91e6d4d339f6a8af05460add2ae55b2b22 Mon Sep 17 00:00:00 2001 From: auziel <2196255+auziel@users.noreply.github.com> Date: Thu, 21 Apr 2022 00:00:28 +0300 Subject: [PATCH] Fix the example of using --rsyncdir option (#777) Co-authored-by: Ronny Pfannschmidt Co-authored-by: Bruno Oliveira --- docs/remote.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/remote.rst b/docs/remote.rst index 7ffab18..997bef3 100644 --- a/docs/remote.rst +++ b/docs/remote.rst @@ -10,7 +10,7 @@ tests that you can successfully run locally. And you have a ssh-reachable machine ``myhost``. Then you can ad-hoc distribute your tests by typing:: - pytest -d --tx ssh=myhostpopen --rsyncdir mypkg mypkg + pytest -d --rsyncdir mypkg --tx ssh=myhostpopen mypkg/tests/unit/test_something.py This will synchronize your :code:`mypkg` package directory to a remote ssh account and then locally collect tests @@ -49,7 +49,7 @@ It will tell you that it starts listening on the default port. You can now on your home machine specify this new socket host with something like this:: - pytest -d --tx socket=192.168.1.102:8888 --rsyncdir mypkg mypkg + pytest -d --tx socket=192.168.1.102:8888 --rsyncdir mypkg