mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/authres: Simplify test phase
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -16,6 +16,6 @@ SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -c "import sys, authres, doctest; f, t = doctest.testfile('authres/tests'); \
|
||||
sys.exit(bool(f))" || die "Tests fail with ${EPYTHON}"
|
||||
"${EPYTHON}" -m doctest -v authres/tests ||
|
||||
die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user