sahara/sahara
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 authorize instead of enforce for policies 2019-03-08 15:26:58 +01:00
cli Remove a monkey-patching workaround for python < 2.7.3 2019-07-22 18:24:47 +02:00
common Fixing policies inconsistencies 2019-03-06 13:50:28 -03:00
conductor Adapt to the additional rules from pycodestyle 2.5.0 2019-02-15 00:18:53 +01:00
db Stop to use the __future__ module. 2020-06-02 20:56:50 +02:00
locale/de/LC_MESSAGES Imported Translations from Zanata 2020-04-26 08:25:03 +00:00
plugins Making Sahara Python 3 compatible 2019-03-19 12:53:40 -03:00
service Python 3 fixes 2019-10-02 08:29:03 -03:00
swift Prepare Sahara core for plugin split 2019-01-10 22:18:24 -03:00
tests Switch from unittest2 compat methods to Python 3.x methods 2020-06-23 14:19:43 +02:00
topology Remove log translations 2017-04-10 16:02:05 +08:00
utils Monkey patch original current_thread _active 2020-05-05 15:52:27 -04:00
__init__.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
config.py Make sure that default_ntp_server option is exported 2019-01-24 18:59:38 +01:00
context.py Remove log translations 2017-04-10 16:02:05 +08:00
exceptions.py S3 job binary and binary retriever 2017-12-28 20:20:37 +00:00
i18n.py Update the documentation link for doc migration 2017-07-14 13:50:40 +00:00
main.py Enable mutable config in sahara 2018-07-25 22:25:36 +02:00
version.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00