summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/hiredis')
-rw-r--r--dev-python/hiredis/hiredis-1.0.1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/hiredis/hiredis-1.0.1.ebuild b/dev-python/hiredis/hiredis-1.0.1.ebuild
index bc7739eaeec7..1e14c85fa398 100644
--- a/dev-python/hiredis/hiredis-1.0.1.ebuild
+++ b/dev-python/hiredis/hiredis-1.0.1.ebuild
@@ -22,3 +22,8 @@ PATCHES=(
"${FILESDIR}"/${P}-system-libs.patch
"${FILESDIR}"/${P}-api-0.14.patch
)
+
+python_test() {
+ cd test
+ "${EPYTHON}" -m unittest reader.ReaderTest || die "tests failed"
+}