[PATCH 4/5] tests: run python-cffi tests

David Bremner david at tethera.net
Mon Nov 4 08:57:07 PST 2019


Tomi Ollila <tomi.ollila at iki.fi> writes:

> On Sun, Nov 03 2019, David Bremner wrote:
>
>> The entire python-cffi test suite is considered as a single test at
>> the level of the notmuch test suite. This might or might not be ideal,
>> but it gets them run.
>
> IMO this is good enough approach -- provided that pytest is prereq
> for this test to be run =D
>
> (i.e. one may have cffi but decided not to install pytest)
>
> Tomi

Yes, that's a good point, that actually caused some failures. I guess
I'll also need to check for pytest-cov, or disable coverage testing,
which is apparently enabled by default in tox.ini. At the moment I don't
know the best way to do that, but "python3 -m pytest -c /dev/null" seems
to work.

d


More information about the notmuch mailing list