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

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

Date: Mon, 04 Nov 2019 12:57:07 -0400

To: Tomi Ollila,


From: David Bremner

Tomi Ollila <> 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.

notmuch mailing list