yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19971
[Bug 1355251] Re: db plugin sort testing function should not use sorted() on assertion
** Changed in: neutron
Status: Fix Committed => Fix Released
** Changed in: neutron
Milestone: None => juno-3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1355251
Title:
db plugin sort testing function should not use sorted() on assertion
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
tests/unit/test_db_plugin.py line 585
(https://github.com/openstack/neutron/blob/master/neutron/tests/unit/test_db_plugin.py#L585)
sorted() function is used within assertEqual() function.
This breaks tests objective which is to test sorting
Every unit test using this function (_test_list_with_sort) for sorting tests will always succeed.
sorted() should not be used for proper test results
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1355251/+subscriptions
References