projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79dc213
)
dev-python/pytest-mock: Run tests verbosely
author
Michał Górny
<mgorny@gentoo.org>
Sat, 21 Jul 2018 10:00:20 +0000
(12:00 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Sat, 21 Jul 2018 10:14:31 +0000
(12:14 +0200)
dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
index 958c9a4a9d01ba59e4fc4f40b2cbd18edb92339c..e88ebaa58a88e44f6945a0bc0036ec967025c62c 100644
(file)
--- a/
dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
+++ b/
dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
@@
-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}"
}