dev-python/pathlib: Support running tests
authorMichał Górny <mgorny@gentoo.org>
Fri, 25 Nov 2016 16:10:38 +0000 (17:10 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 25 Nov 2016 16:18:00 +0000 (17:18 +0100)
dev-python/pathlib/pathlib-1.0.1-r1.ebuild

index 81d7f728c4266759b6d0afa2adfb998e25f4b6d8..961c7070f8238419118a7bf67ff9e96c77baa7e7 100644 (file)
@@ -17,3 +17,7 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
+
+python_test() {
+       "${PYTHON}" test_pathlib.py || die
+}