[blivet] Add a framework for tests that use disk image storage

David Lehman dlehman at redhat.com
Mon May 5 17:57:47 UTC 2014


These are higher-level tests, but the unit test framework is already
there. My plan for these is to have them only run from jenkins. I just
need to go find something in the environment to tell me whether or not
the tests are running under jenkins and skip them if not.

David Lehman (3):
  Add a base class for tests backed by disk image storage.
  Add some tests that verify the results of DeviceTree.populate.
  Add some tests for extended partition management.

 tests/devicetree_test.py     | 234 +++++++++++++++++++++++++++++++++++++++++++
 tests/imagebackedtestcase.py | 106 ++++++++++++++++++++
 tests/partitioning_test.py   |  69 +++++++++++++
 3 files changed, 409 insertions(+)
 create mode 100644 tests/devicetree_test.py
 create mode 100644 tests/imagebackedtestcase.py

-- 
1.9.0



More information about the anaconda-patches mailing list