I tried this tool on tests/storage/merge_test.py, and it save the
uninteresting
work of replacing assertXXX methods with asserts and pytest.raises.

See https://gerrit.ovirt.org/c/95703 - mostly written by the tool.

This can save lot of time converting legacy tests.

Get it from https://pypi.org/project/unittest2pytest/

Nir
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/ILSRKZTBAUXCQSS2KVAOUQYC2IYDFBEM/

Reply via email to