summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/slixmpp/slixmpp-1.5.2.ebuild')
-rw-r--r--dev-python/slixmpp/slixmpp-1.5.2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/slixmpp/slixmpp-1.5.2.ebuild b/dev-python/slixmpp/slixmpp-1.5.2.ebuild
index 64f1fc02263a..4bdc2f5616c8 100644
--- a/dev-python/slixmpp/slixmpp-1.5.2.ebuild
+++ b/dev-python/slixmpp/slixmpp-1.5.2.ebuild
@@ -31,4 +31,6 @@ RDEPEND="
${DEPEND}
"
-distutils_enable_tests pytest
+python_test() {
+ "${EPYTHON}" ./run_tests.py || die "Tests failed with ${EPYTHON}"
+}