diskimage-builder/diskimage_builder/tests
melissaml bf0dc265ae 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: I870286a2557e41099597c22dc9747743e1077615
2020-07-07 11:11:28 +08:00
..
functional Move "functional" unit tests under block-device 2017-06-05 12:22:52 +10:00
__init__.py Python code refactorings. 2013-11-12 10:47:57 -05:00
base.py Add unit test for cache-url 2014-09-30 16:39:21 -05:00
test_elementdeps.py Switch from unittest2 compat methods to Python 3.x methods 2020-07-07 11:11:28 +08:00
test_loggingconfig.py Introspect logging testing more 2016-06-16 13:54:52 +10:00
test_no_dup_filenames.py Add test to ensure we don't duplicate filenames 2014-06-11 08:16:41 -04:00