requirements/openstack_requirements/tests
Takashi Natsume 7a55d689e0 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] - https://github.com/testing-cabal/testtools/issues/286
[4] - https://github.com/testing-cabal/testtools/pull/277

Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Change-Id: I485b6f1c44185eaf327aadb044d6d2b1dce40eb2
2021-05-23 17:14:44 +09:00
..
files Merge "Remove the searchlight deliverables from req" 2020-12-25 18:45:12 +00:00
__init__.py Move tests into openstack_requirements. 2015-06-08 22:07:01 +12:00
common.py do not sync the blacklist to projects 2017-06-15 16:26:53 -04:00
test_build_lower_constraints.py Ignore empty requirements/constraints when building lower-constraints 2018-07-05 09:48:55 +10:00
test_check_constraints.py Use unittest.mock instead of mock 2020-06-09 19:16:34 +02:00
test_check.py Allow projects to drop 'python_version>=3.x' version specifier 2019-12-19 23:22:40 -06:00
test_constraints.py Move data validation out of the unit tests and strengthen 2015-08-03 20:45:37 +00:00
test_edit_constraint.py Deal with underscores in names in edit-constraints 2015-09-17 10:12:11 +12:00
test_generate.py Use venv instead of virtualenv in generate script 2020-06-29 12:50:08 -05:00
test_project.py add validation rules for lower constraints 2018-03-29 12:58:57 -04:00
test_requirement.py Replace assertItemsEqual with assertCountEqual 2021-05-23 17:14:44 +09:00
test_update_pbr.py Stop to use the __future__ module. 2020-06-02 20:56:04 +02:00
test_update_suffix.py Stop to use the __future__ module. 2020-06-02 20:56:04 +02:00
test_update.py Use unittest.mock instead of mock 2020-06-09 19:16:34 +02:00