nova/nova/tests
Dirk Mueller 4d58c0bb3d Switch from unittest2 compat methods to Python 3.x methods
With the removal of Python 2.x we can remove the unittest2 compat
wrappers and switch to assertCountEqual instead of assertItemsEqual

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.

[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: Ied2227a482087f4a2dc4e2d9986f9b3b777aa821
2020-06-23 14:16:07 +02:00
..
functional Switch from unittest2 compat methods to Python 3.x methods 2020-06-23 14:16:07 +02:00
unit Switch from unittest2 compat methods to Python 3.x methods 2020-06-23 14:16:07 +02:00
__init__.py
fixtures.py Merge "Poison netifaces.interfaces() in tests" 2020-05-27 22:38:59 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00