openSUSE / python-rpm-macros

Multi-Python, Single-Spec macros generator
Other
22 stars 20 forks source link

Add pyunittest and pyunittest_arch macros #54

Closed s-t-e-v-e-n-k closed 4 years ago

s-t-e-v-e-n-k commented 4 years ago

With the firm deprecation of python setup.py test, a lot of packages are moving to calling python -m unittest for their testsuite, to avoid a lot of duplicated and slightly different code, add two macros for ease of calling.

scarabeusiv commented 4 years ago

Shouldn't we also pass -v by default or is it the out-of-the-box behaviour?

mcepl commented 4 years ago

Yes, this looks good. Thank you.