diskimage-builder/diskimage_builder/block_device/tests
Ian Wienand 886f925b13 Use global state to check for duplicate fs labels
As we add file-systems, add them to global state and check the labels
are uniqiue.  Add a unit test and remove the old global value.

Bonus fixup to the length check, and a test for that too.

Change-Id: I0f5a96f687c92e000afc9c98a26c49c4b1d3f28d
2017-06-08 17:13:28 +10:00
..
config Use global state to check for duplicate fs labels 2017-06-08 17:13:28 +10:00
plugin Remove 'state' argument from later cmd_* calls 2017-06-08 17:13:28 +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 Use global state to check for duplicate fs labels 2017-06-08 17:13:28 +10:00
test_mbr.py Don't make image & loopdev functions static 2017-06-08 17:10:10 +10: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 Add state to NodeBase class 2017-06-08 17:13:26 +10:00
test_state.py Remove 'state' argument from later cmd_* calls 2017-06-08 17:13:28 +10:00
test_utils.py Move "functional" unit tests under block-device 2017-06-05 12:22:52 +10:00