Hi,
I'm creating a time-line based on pytest.
im using xdist with multiple slaves (in the amount of the tests). Each
test is started by time and dependency. which mean some of the gateways
will be waiting for others to be "Done".
for that, io need some data sharing between them all, and canno
thanks!!!
your suggestion was very helpful.
to use*item.rep_call.outcome* and not *report.outcome*
def pytest_runtest_makereport(__multicall__, item, call):
report = __multicall__.execute()
setattr(item, "rep_" + report.when, report)
if call.when == "teardown" :
try:
i am using this hook...
i have 1 test with 2 configurations provided using item._request.cfg
then when im running the tests using xdist, i see that
"slaveoutput["exitstatus"] is aware of the failure. but report.outcome
climing both have "passed"
def test_cm_delete(request):
cfg = reque
You might adapt this example:
http://pytest.org/latest/example/simple.html#making-test-result-information-available-in-fixtures
On September 17, 2014 3:18:05 PM CEST, Ayelet Regev
wrote:
>Hi,
>
>I want to be able to get the result from each item at teardown.
>What should i look for?
>
>--
>Bes
Hi,
I want to be able to get the result from each item at teardown.
What should i look for?
--
Best Regards,
Ayelet Regev Dabah
Email: [email protected]
___
Pytest-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo