diskimage-builder/diskimage_builder/block_device
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
..
level0 Move localloop to exec_sudo 2018-06-29 11:22:24 +10:00
level1 Merge "Only detach device if all partitions have been cleaned" 2018-07-31 08:21:27 +00:00
level2 Convert labels to upper case 2018-06-19 11:12:54 +02:00
level3 Don't fstrim vfat partitions 2018-01-23 13:24:09 +11:00
level4 Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
tests Switch from unittest2 compat methods to Python 3.x methods 2020-07-07 11:11:28 +08:00
__init__.py Clear __init__.py from cmd move 2017-05-11 18:52:14 +10:00
blockdevice.py block device: update variable name 2020-05-13 06:22:02 +10:00
cmd.py Uncap hacking 2020-02-24 10:34:46 +11:00
config.py Uncap hacking 2020-02-24 10:34:46 +11:00
exception.py Move exception to it's own file (again) 2017-05-20 06:44:39 +00:00
plugin.py Drop six usage 2020-06-05 12:04:37 +02:00
utils.py Uncap hacking 2020-02-24 10:34:46 +11:00