Public bug reported:
Hi,
Horizon's tests are failing with python3.8, see below :
+ http_proxy=127.0.0.1:9 https_proxy=127.0.0.9:9 HTTP_PROXY=127.0.0.1:9
HTTPS_PROXY=127.0.0.1:9
PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages
PYTHON=python3.8 python3.8 -m coverage run /<<PKGBUILDDIR>>/manage.py test
horizon --verbosity 2 --settings=horizon.test.settings --exclude-tag selenium
--exclude-tag integration
/usr/lib/python3/dist-packages/scss/selector.py:26: FutureWarning: Possible
nested set at position 329
SELECTOR_TOKENIZER = re.compile(r'''
Creating test database for alias 'default'
('file:memorydb_default?mode=memory&cache=shared')...
test_legacychoicefield_title
(horizon.test.unit.forms.test_fields.ChoiceFieldTests) ... ok
.
.
.
.
.
test_call_functions_parallel_with_kwargs
(openstack_dashboard.test.unit.utils.test_futurist_utils.FuturistUtilsTests)
... ok
======================================================================
ERROR: test_detail_invalid_port_range
(openstack_dashboard.dashboards.project.security_groups.tests.SecurityGroupsViewTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/openstack_dashboard/test/helpers.py", line 130, in
wrapped
return function(inst, *args, **kwargs)
File
"/<<PKGBUILDDIR>>/openstack_dashboard/dashboards/project/security_groups/tests.py",
line 621, in test_detail_invalid_port_range
self.assertContains(res, cgi.escape('"from" port number is invalid',
AttributeError: module 'cgi' has no attribute 'escape'
----------------------------------------------------------------------
Ran 1522 tests in 448.635s
FAILED (errors=1)
** Affects: horizon
Importance: Undecided
Assignee: Michal Arbet (michalarbet)
Status: New
** Changed in: horizon
Assignee: (unassigned) => Michal Arbet (michalarbet)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1854019
Title:
Horizon's tests are failing with python3.8
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Hi,
Horizon's tests are failing with python3.8, see below :
+ http_proxy=127.0.0.1:9 https_proxy=127.0.0.9:9 HTTP_PROXY=127.0.0.1:9
HTTPS_PROXY=127.0.0.1:9
PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages
PYTHON=python3.8 python3.8 -m coverage run /<<PKGBUILDDIR>>/manage.py test
horizon --verbosity 2 --settings=horizon.test.settings --exclude-tag selenium
--exclude-tag integration
/usr/lib/python3/dist-packages/scss/selector.py:26: FutureWarning: Possible
nested set at position 329
SELECTOR_TOKENIZER = re.compile(r'''
Creating test database for alias 'default'
('file:memorydb_default?mode=memory&cache=shared')...
test_legacychoicefield_title
(horizon.test.unit.forms.test_fields.ChoiceFieldTests) ... ok
.
.
.
.
.
test_call_functions_parallel_with_kwargs
(openstack_dashboard.test.unit.utils.test_futurist_utils.FuturistUtilsTests)
... ok
======================================================================
ERROR: test_detail_invalid_port_range
(openstack_dashboard.dashboards.project.security_groups.tests.SecurityGroupsViewTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/openstack_dashboard/test/helpers.py", line 130, in
wrapped
return function(inst, *args, **kwargs)
File
"/<<PKGBUILDDIR>>/openstack_dashboard/dashboards/project/security_groups/tests.py",
line 621, in test_detail_invalid_port_range
self.assertContains(res, cgi.escape('"from" port number is invalid',
AttributeError: module 'cgi' has no attribute 'escape'
----------------------------------------------------------------------
Ran 1522 tests in 448.635s
FAILED (errors=1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1854019/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp