Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 722572

Summary: dev-python/django-3.0.6: failed tests (missing selenium testdep?)
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: ago
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 721140    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-12 03:07:54 UTC
======================================================================
ERROR: admin_inlines.tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/usr/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/usr/lib/python3.7/unittest/loader.py", line 34, in testFailure
    raise self._exception
ImportError: Failed to import test module: admin_inlines.tests
Traceback (most recent call last):
  File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/var/tmp/portage/dev-python/django-3.0.6/work/Django-3.0.6/tests/admin_inlines/tests.py", line 1, in <module>
    from selenium.common.exceptions import NoSuchElementException
ModuleNotFoundError: No module named 'selenium'


----------------------------------------------------------------------
Ran 13076 tests in 156.236s

FAILED (errors=1, skipped=901, expected failures=4)
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-12 04:25:37 UTC
Seems to pass when I install dev-python/selenium.
Comment 2 Larry the Git Cow gentoo-dev 2020-05-12 06:57:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13419f560c37cd142c3d3b050babb146e061eb2f

commit 13419f560c37cd142c3d3b050babb146e061eb2f
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-05-12 06:51:15 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-05-12 06:57:43 +0000

    dev-python/django: Add missing test-dep on selenium
    
    Closes: https://bugs.gentoo.org/722572
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/django/django-3.0.6.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-05-17 13:52:44 UTC
*** Bug 720944 has been marked as a duplicate of this bug. ***