sahara/sahara/tests/unit/service
Dirk Mueller 3f004e6a9f 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: Ic0d8c9e1025cd05f4042f1c5ba440cc03a0b5834
2020-06-23 14:19:43 +02:00
..
api Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
castellan Initial key manager implementation 2015-12-22 15:07:12 -05:00
edp Switch from unittest2 compat methods to Python 3.x methods 2020-06-23 14:19:43 +02:00
health Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
heat Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
validation Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
__init__.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
test_coordinator.py Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
test_engine.py Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
test_networks.py Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
test_ntp_service.py Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
test_ops.py Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
test_periodic.py Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
test_quotas.py Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
test_sessions.py Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
test_trusts.py Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00
test_volumes.py Use unittest.mock instead of third party mock 2020-04-22 15:40:48 +02:00