summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-09-14 08:08:01 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-09-14 08:08:01 -0500
commitad15478f92d0bdd4b3a9e4b4672333f12db73dcc (patch)
treec260587da47100fcbf6950c76f7d948216630a2a /dev-python/voluptuous
parentdev-games/aseprite: Clean up old. (diff)
downloadgentoo-ad15478f92d0bdd4b3a9e4b4672333f12db73dcc.tar.gz
gentoo-ad15478f92d0bdd4b3a9e4b4672333f12db73dcc.tar.bz2
gentoo-ad15478f92d0bdd4b3a9e4b4672333f12db73dcc.zip
dev-python/voluptuous: add test support (no bump) bug 593638
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-python/voluptuous')
-rw-r--r--dev-python/voluptuous/voluptuous-0.9.3.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/voluptuous/voluptuous-0.9.3.ebuild b/dev-python/voluptuous/voluptuous-0.9.3.ebuild
index 89df05516c6e..695565a3eb51 100644
--- a/dev-python/voluptuous/voluptuous-0.9.3.ebuild
+++ b/dev-python/voluptuous/voluptuous-0.9.3.ebuild
@@ -18,3 +18,8 @@ IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""
+
+python_test() {
+ unset PYTHONPATH
+ nosetests -v || die "Tests failed"
+}