diskimage-builder/diskimage_builder/block_device/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
..
config Merge "Only detach device if all partitions have been cleaned" 2018-07-31 08:21:27 +00:00
plugin Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
__init__.py Refactor: block-device handling (local loop) 2016-09-08 04:31:01 +00:00
test_base.py Add state object, rename "results", add unit tests 2017-05-30 20:39:00 +10:00
test_config.py Switch from unittest2 compat methods to Python 3.x methods 2020-07-07 11:11:28 +08:00
test_gpt.py Don't quote names with sgdisk 2018-06-27 18:10:08 +10:00
test_lvm.py Switch from unittest2 compat methods to Python 3.x methods 2020-07-07 11:11:28 +08:00
test_mbr.py Allow users to specify partition type in the MBR PTE 2017-07-29 06:34:25 -04:00
test_mkfs.py Use global state to check for duplicate fs labels 2017-06-08 17:13:28 +10:00
test_mount_order.py Convert labels to upper case 2018-06-19 11:12:54 +02:00
test_state.py Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
test_utils.py Move "functional" unit tests under block-device 2017-06-05 12:22:52 +10:00