nova/nova/tests/unit/scheduler
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
..
client Use Placement 1.35 (root_required) 2020-01-07 16:46:56 -06:00
filters objects: Add 'NUMACell.pcpuset' field 2019-09-18 00:21:10 +01:00
weights Don't recompute weighers' minval/maxval attributes 2020-04-01 11:46:48 +02:00
__init__.py
fakes.py Add support for translating CPU policy extra specs, image meta 2019-09-18 00:21:10 +01:00
ironic_fakes.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_filter_scheduler.py trivial: Remove FakeScheduler 2020-02-18 15:13:45 +00:00
test_filters.py filters: Stop handling cells v1 2019-06-12 16:09:46 +01:00
test_host_filters.py Modify left filters for RequestSpec 2015-12-11 12:27:20 +01:00
test_host_manager.py Handle cell failures in get_compute_nodes_by_host_or_node 2019-12-30 16:01:50 +00:00
test_manager.py trivial: Remove FakeScheduler 2020-02-18 15:13:45 +00:00
test_request_filter.py Switch from unittest2 compat methods to Python 3.x methods 2020-06-23 14:16:07 +02:00
test_rpcapi.py Use long_rpc_timeout in select_destinations RPC call 2018-11-20 09:03:53 -05:00
test_scheduler_utils.py Use 'Exception.__traceback__' for versioned notifications 2020-06-08 14:38:33 +01:00
test_utils.py Use provider mappings from Placement (mostly) 2019-12-06 11:04:55 -06:00