From d860cc01a9fb0585f6a1ae70147bba2a06ff92a7 Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Wed, 1 Apr 2020 23:33:44 +0200 Subject: [PATCH] dev-python/hiredis: Add python_test() Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sven Wegener --- dev-python/hiredis/hiredis-1.0.1.ebuild | 5 +++++ 1 file changed, 5 insertions(+) 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" +} -- 2.26.2