Hi,

> Could you see to implement my above suggestions and see
> if it still satisfies your use case?
> (reuse testnodeready, slavedata dict,
> config<->node relationship on slaves)
>
> If i see it right that'd confine changes to the xdist code
> in which case i'd be willing to release it soon.

I changed to use slaveready and changed both the slavedata and
slavereport to be a simple dict.

Not sure with the relationships on slaves.  The hooks just access the
session / slave object to get config / slavedata / slavereport.  Seems
clear to me atm, but maybe I misunderstood.

I added test which works, but could maybe be better when it fails.
Wasn't sure how to best make a test of pytest with a hook running on a
slave fail.

What do you think?

http://bitbucket.org/memedough/pytest-xdist-slaveready/overview

:)
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to