dev-python/minimock: Enable tests
authorMichał Górny <mgorny@gentoo.org>
Wed, 17 May 2017 16:14:06 +0000 (18:14 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 17 May 2017 16:22:46 +0000 (18:22 +0200)
dev-python/minimock/minimock-1.2.8-r1.ebuild

index f90db0e0816562f9253c64737bbc988f6edc852c..d17b05dcf3e1769c7faf5cfd42b60a09cc860be3 100644 (file)
@@ -25,3 +25,7 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 S="${WORKDIR}/${MY_P}"
 
 DOCS=( docs/changelog.rst docs/index.rst )
+
+python_test() {
+       "${PYTHON}" -m doctest minimock.py || die "Tests fail with ${EPYTHON}"
+}