svn commit: r517602 - head/devel/py-mock
Kubilay Kocak
koobs at FreeBSD.org
Fri Nov 15 04:10:31 UTC 2019
On 15/11/2019 2:27 pm, Jan Beich wrote:
> Kubilay Kocak <koobs at FreeBSD.org> writes:
>
>> The canonical pytest invocation is:
>>
>> cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
>
> For a canonical it is uncommon. Besides, you've made mistakes:
> - No braces around `cd` compared to what Porter's Handbook recommends
> - No TEST_ENV in case tests need TZ=UTC, LANG=en_US.UTF-8, etc.
>
I wasn't being perfectly compliant to focus on the pytest specific
invocation elements. Of course, framework mechanisms should be used
where appropriate and it is recommended to do so.
More information about the freebsd-python
mailing list