nova/nova/tests/unit/compute
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
..
monitors Do not log a warning about not using compute monitors 2019-04-04 14:32:53 -04:00
__init__.py
eventlet_utils.py
fake_resource_tracker.py Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
test_claims.py Rename Claims resources to compute_node 2019-09-23 13:45:03 -04:00
test_compute.py Merge "Remove hooks" 2020-06-21 06:46:45 +00:00
test_compute_api.py Switch from unittest2 compat methods to Python 3.x methods 2020-06-23 14:16:07 +02:00
test_compute_mgr.py Merge "Remove hooks" 2020-06-21 06:46:45 +00:00
test_compute_utils.py Use 'Exception.__traceback__' for versioned notifications 2020-06-08 14:38:33 +01:00
test_compute_xen.py Remove mox in nova/tests/unit/virt/xenapi/stubs.py 2018-06-21 23:59:39 +00:00
test_flavors.py
test_host_api.py Merge "Remove service_uuids_online_data_migration" 2019-11-18 21:01:45 +00:00
test_instance_list.py Plumbing for ignoring list_records_by_skipping_down_cells 2019-02-08 16:28:28 -05:00
test_keypairs.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_multi_cell_list.py Refactor scatter-gather utility to return exception objects 2018-10-31 15:18:07 -04:00
test_provider_tree.py Add resources dict into _Provider 2019-09-13 08:50:35 +00:00
test_resource_tracker.py partial support for live migration with specific resources 2020-04-07 13:12:53 +00:00
test_rpcapi.py Bump compute rpcapi version and reduce Cyborg calls. 2020-03-31 00:24:00 -07:00
test_shelve.py Pass allocations to virt drivers when resizing 2020-04-10 12:49:16 +02:00
test_stats.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_virtapi.py Add a way to exit early from a wait_for_instance_event() 2019-12-02 07:00:26 -08:00