summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/jsonschema/jsonschema-2.5.1-r2.ebuild')
-rw-r--r--dev-python/jsonschema/jsonschema-2.5.1-r2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-python/jsonschema/jsonschema-2.5.1-r2.ebuild b/dev-python/jsonschema/jsonschema-2.5.1-r2.ebuild
index b5a66a82b7dd..5c4d936841e7 100644
--- a/dev-python/jsonschema/jsonschema-2.5.1-r2.ebuild
+++ b/dev-python/jsonschema/jsonschema-2.5.1-r2.ebuild
@@ -26,7 +26,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}
dev-python/vcversioner[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]"
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/mock[${PYTHON_USEDEP}] )"
python_test() {
"${PYTHON}" -m unittest discover || die "Testing failed with ${EPYTHON}"