yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76907
[Bug 1815287] [NEW] TypeError: unorderable types: MagicMock() <= int() in py35 openstack_dashboard.dashboards.project.instances.tests
Public bug reported:
when "tox -e py35 -- openstack_dashboard.dashboards.project.instances.tests" runs, we got the following message.
The test itself does not fail, but it is better to be fixed.
test_row_update (openstack_dashboard.dashboards.project.instances.tests.InstanceAjaxTests) ... Failed to retrieve quota information
Traceback (most recent call last):
File "/home/tipica/work/horizon/openstack_dashboard/dashboards/project/instances/tables.py", line 447, in allowed
if instances_available <= 0 or cores_available <= 0 \
TypeError: unorderable types: MagicMock() <= int()
ok
test_row_update_flavor_not_found (openstack_dashboard.dashboards.project.instances.tests.InstanceAjaxTests) ... Failed to retrieve quota information
Traceback (most recent call last):
File "/home/tipica/work/horizon/openstack_dashboard/dashboards/project/instances/tables.py", line 447, in allowed
if instances_available <= 0 or cores_available <= 0 \
TypeError: unorderable types: MagicMock() <= int()
ok
test_row_update_instance_error (openstack_dashboard.dashboards.project.instances.tests.InstanceAjaxTests) ... Failed to retrieve quota information
Traceback (most recent call last):
File "/home/tipica/work/horizon/openstack_dashboard/dashboards/project/instances/tables.py", line 447, in allowed
if instances_available <= 0 or cores_available <= 0 \
TypeError: unorderable types: MagicMock() <= int()
ok
** Affects: horizon
Importance: Undecided
Assignee: Akihiro Motoki (amotoki)
Status: In Progress
** Tags: unittest
--
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/1815287
Title:
TypeError: unorderable types: MagicMock() <= int() in py35
openstack_dashboard.dashboards.project.instances.tests
Status in OpenStack Dashboard (Horizon):
In Progress
Bug description:
when "tox -e py35 -- openstack_dashboard.dashboards.project.instances.tests" runs, we got the following message.
The test itself does not fail, but it is better to be fixed.
test_row_update (openstack_dashboard.dashboards.project.instances.tests.InstanceAjaxTests) ... Failed to retrieve quota information
Traceback (most recent call last):
File "/home/tipica/work/horizon/openstack_dashboard/dashboards/project/instances/tables.py", line 447, in allowed
if instances_available <= 0 or cores_available <= 0 \
TypeError: unorderable types: MagicMock() <= int()
ok
test_row_update_flavor_not_found (openstack_dashboard.dashboards.project.instances.tests.InstanceAjaxTests) ... Failed to retrieve quota information
Traceback (most recent call last):
File "/home/tipica/work/horizon/openstack_dashboard/dashboards/project/instances/tables.py", line 447, in allowed
if instances_available <= 0 or cores_available <= 0 \
TypeError: unorderable types: MagicMock() <= int()
ok
test_row_update_instance_error (openstack_dashboard.dashboards.project.instances.tests.InstanceAjaxTests) ... Failed to retrieve quota information
Traceback (most recent call last):
File "/home/tipica/work/horizon/openstack_dashboard/dashboards/project/instances/tables.py", line 447, in allowed
if instances_available <= 0 or cores_available <= 0 \
TypeError: unorderable types: MagicMock() <= int()
ok
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1815287/+subscriptions
Follow ups