dev-python/pytest-mock: Run tests verbosely

This commit is contained in:
Michał Górny
2018-07-21 12:00:20 +02:00
parent 79dc2131ef
commit 737f37f8bc

View File

@@ -30,6 +30,6 @@ src_prepare() {
}
python_test() {
PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} \
py.test test_pytest_mock.py || die
local -x PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH}
py.test -vv test_pytest_mock.py || die "Tests fail with ${EPYTHON}"
}