[pytest-dev] Using py.test xdist --tx with custom ssh settings

Michael Heyvaert micheyvaert at gmail.com
Thu Jan 9 21:45:43 CET 2014


Hi Holger,

great to hear, let me know if I can helping with testing something before
the release!

Michaël


On Wed, Jan 8, 2014 at 11:46 AM, holger krekel <holger at merlinux.eu> wrote:

> hi Michael,
>
> the prospective execnet-1.2 release will have an extended ssh syntax
> to allow passing of command line args, for example:
>
>     ssh=-p 5000 HOSTNAME
>
> You can also pass in an ssh config file (IIRC -F).
>
> best,
> holger
>
>
> On Tue, Jan 07, 2014 at 11:09 +0100, Michael Heyvaert wrote:
> > Hello,
> >
> > is it possible to use the py.test xdist plugin with custom ssh settings?
> >
> > My use case is to run tests against a vagrant box, which has the vagrant
> > user
> > and a specific ssh key, independent of the actual vm.
> > Depending on the type of the vm, it is also possible that the ssh port is
> > forwarded.
> >
> > I would like to setup a script that parses the vagrant ssh-config output
> > and generates --tx to pass to xdist.
> >
> > Best regards,
> >
> >     Michaël
>
> > _______________________________________________
> > Pytest-dev mailing list
> > Pytest-dev at python.org
> > https://mail.python.org/mailman/listinfo/pytest-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20140109/1ba323b6/attachment.html>


More information about the Pytest-dev mailing list