neutron/neutron/tests/unit/scheduler
gugug ada26647ec Replace assertItemsEqual with assertCountEqual
assertItemsEqual was removed from Python's unittest.TestCase in
Python 3.3 [1][2]. We have been able to use them since then, because
testtools required unittest2, which still included it. With testtools
removing Python 2.7 support [3][4], we will lose support for
assertItemsEqual, so we should switch to use assertCountEqual.

NOTE(dmllr): added hacking check

[1] - https://bugs.python.org/issue17866
[2] - https://hg.python.org/cpython/rev/d9921cb6e3cd
[3] - testing-cabal/testtools#286
[4] - testing-cabal/testtools#277

Change-Id: I7c20fec08e5dc9f67b34100c925ea6724bbd25f0
(cherry picked from commit 62729d4e74)
2021-08-24 10:00:56 +00:00
..
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_base_scheduler.py L3 agent scheduler should return a valid index if manual scheduling 2020-06-24 15:37:23 +00:00
test_dhcp_agent_scheduler.py L3 agent scheduler should return a valid index if manual scheduling 2020-06-24 15:37:23 +00:00
test_l3_agent_scheduler.py Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +00:00
test_l3_ovn_scheduler.py Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +00:00