[blivet:master 00/11] #1109195 related patches (v2)

mulhern amulhern at redhat.com
Wed Jun 18 14:51:30 UTC 2014


All are mostly the same or changed according to suggestions except

If btrfs creation fails, try with fewer...

which was previously

Fall back to accepting defaults...

and which has changed considerably.

mulhern (11):
  Remove some extra imports.
  Update BTRFS initializer comments for level type.
  Explicitly accept a string as well as a RAIDLevel object.
  Move skipUnless decorator to the top level class of skipped classes.
  Add num_blocks parameter to makeLoopDev().
  Use correct parameters in __init__() in subclasses of
    unittest.TestCase.
  Make DevicelibsTestCase devices configurable.
  Add a test for a btrfs error associated with small devices (#1109195)
  Accept None for btrfs raid levels (#1109195)
  If btrfs creation fails, try with fewer specified options (#1109195)
  Move DevicelibsTestCase up to the top level of the testing directory.

 blivet/devicelibs/btrfs.py           |  12 +++--
 blivet/devices.py                    |  61 ++++++++++++---------
 tests/devicelibs_test/baseclass.py   |  77 --------------------------
 tests/devicelibs_test/btrfs_test.py  |  53 +++++++++++-------
 tests/devicelibs_test/crypto_test.py |  29 +++++-----
 tests/devicelibs_test/lvm_test.py    |  24 ++++-----
 tests/devicelibs_test/mdraid_test.py |  21 +++-----
 tests/devicelibs_test/swap_test.py   |  10 ++--
 tests/devices_test.py                |   4 --
 tests/devicetree_test.py             |   2 -
 tests/formats_test/fslabeling.py     |  46 +++++-----------
 tests/formats_test/labeling_test.py  |  18 ++-----
 tests/formats_test/selinux_test.py   |  17 +++---
 tests/imagebackedtestcase.py         |   1 +
 tests/loopbackedtestcase.py          | 102 +++++++++++++++++++++++++++++++++++
 tests/partitioning_test.py           |   2 -
 16 files changed, 242 insertions(+), 237 deletions(-)
 delete mode 100644 tests/devicelibs_test/baseclass.py
 create mode 100644 tests/loopbackedtestcase.py

-- 
1.9.3



More information about the anaconda-patches mailing list