jwilk / i18nspector

checking tool for gettext POT, PO and MO files
https://jwilk.net/software/i18nspector
MIT License
2 stars 4 forks source link

Port test code from nose to pytest #8

Open llimeht opened 3 years ago

llimeht commented 3 years ago

This PR converts the entire test harness from nose to pytest.

There are a few steps in the conversion included here:

The decorator for the yield tests is probably only an interim solution with the yield tests becoming more normal parameterised tests in time. The yield tests that are currently just long lists of yield statements are easy enough to convert but the ones that programmatically generate either the test function or the input require much more work.

Closes: #7

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

This looks amazing, but there are few issues: