keystone/keystone/tests/unit/policy
wangzihao c97afecd57 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.

[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: I7725cead76c0c7349af9a8c8e8a54290caebce9c
2020-09-17 17:02:35 +08:00
..
backends Replace assertItemsEqual with assertCountEqual 2020-09-17 17:02:35 +08:00
__init__.py Split policy backend tests 2016-03-04 15:32:42 -03:00
test_backends.py Finish refactoring self.*_api out of tests 2018-02-05 23:26:08 +00:00