a602d03e2731fa37696a7c15406c74a6186e44df

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: Ib8a08f1b44712bf2fbcadecdcecd0ee3dd8ab361
Team and repository tags
oslo.privsep
OpenStack library for privilege separation
This library helps applications perform actions which require more or less privileges than they were started with in a safe, easy to code and easy to use manner. For more information on why this is generally a good idea please read over the principle of least privilege and the specification which created this library.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslo.privsep/latest/
- Source: https://opendev.org/openstack/oslo.privsep
- Bugs: https://bugs.launchpad.net/oslo.privsep
- Release Notes: https://docs.openstack.org/releasenotes/oslo.privsep
Description
Languages
Python
100%