summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-16 17:35:56 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-16 17:37:41 +0200
commit15d749666b8799b7b4108c19478eb24137602b8d (patch)
treecc36e564af4595a40aa0f38222160621a74a389e /dev-python/selenium
parentdev-python/arrow: Add missing test-dep on pytz (diff)
downloadgentoo-15d749666b8799b7b4108c19478eb24137602b8d.tar.gz
gentoo-15d749666b8799b7b4108c19478eb24137602b8d.tar.bz2
gentoo-15d749666b8799b7b4108c19478eb24137602b8d.zip
dev-python/selenium: Add test-dep on pytest-mock
Closes: https://bugs.gentoo.org/722708 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/selenium')
-rw-r--r--dev-python/selenium/selenium-3.141.0.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-python/selenium/selenium-3.141.0.ebuild b/dev-python/selenium/selenium-3.141.0.ebuild
index 14e42592c1fb..74de0add1e5c 100644
--- a/dev-python/selenium/selenium-3.141.0.ebuild
+++ b/dev-python/selenium/selenium-3.141.0.ebuild
@@ -24,6 +24,9 @@ DOCS=( CHANGES README.rst )
QA_PREBUILT="/usr/lib*/python*/site-packages/${PN}/webdriver/firefox/*/x_ignore_nofocus.so"
+BDEPEND="
+ test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )"
+
distutils_enable_tests pytest
src_unpack() {