diskimage-builder/diskimage_builder/block_device/tests
Ian Wienand 9a8b135267 Don't make image & loopdev functions static
You can't pickle a static method reference which complicates being
able to save the node graph when the "rollback" call-back wants to
hold references to these functions.  The outer module (localoop.py) is
small anyway, so from an organisation point of view the difference is
minimal.  Since these are really only called with parameters from the
containing class, they could be class methods with no parameters, at
the small expense of having to fiddle the mbr test-case a bit.

Change-Id: I6f9592a4295abe1b41294b79828bc2f3c2da01c6
2017-06-08 17:10:10 +10:00
..
config Add state object, rename "results", add unit tests 2017-05-30 20:39:00 +10:00
plugin Use class as super() argument 2017-06-08 09:43:47 +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 Merge "Trivial fix typos" 2017-06-05 05:54:50 +00:00
test_mbr.py Don't make image & loopdev functions static 2017-06-08 17:10:10 +10:00
test_mount_order.py Add state object, rename "results", add unit tests 2017-05-30 20:39:00 +10:00
test_state.py Replace assertRaisesRegexp with assertRaisesRegex 2017-06-03 13:27:37 +07:00
test_utils.py Move "functional" unit tests under block-device 2017-06-05 12:22:52 +10:00