commit:     b0abaec4ce370bed8d71efb5982534aba8c74878
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 22 23:10:25 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 23:53:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0abaec4

dev-python/notebook: Disable selenium tests harder

Closes: https://bugs.gentoo.org/777795
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/notebook/notebook-6.3.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/notebook/notebook-6.3.0.ebuild 
b/dev-python/notebook/notebook-6.3.0.ebuild
index 0ee849912ef..79f3213aac1 100644
--- a/dev-python/notebook/notebook-6.3.0.ebuild
+++ b/dev-python/notebook/notebook-6.3.0.ebuild
@@ -58,8 +58,6 @@ python_prepare_all() {
 
 python_test() {
        local deselect=(
-               # require geckodriver
-               notebook/tests/selenium
                # trash doesn't seem to work for us
                
notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_checkpoints_follow_file
                
notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete
@@ -73,7 +71,8 @@ python_test() {
                
notebook/services/kernels/tests/test_kernels_api.py::KernelCullingTest::test_culling
        )
 
-       epytest ${deselect[@]/#/--deselect }
+       # selenium tests require geckodriver
+       epytest --ignore notebook/tests/selenium ${deselect[@]/#/--deselect }
 }
 
 python_install() {

Reply via email to