[blivet:rhel7/master 0/2] All about DeviceFormats

mulhern amulhern at redhat.com
Mon Dec 23 15:50:01 UTC 2013


I keep coming back w/ this patch because there's a frequent problem where some 
error like:

AttributeError: 'DeviceFormat' object has no attribute X

is encountered.

These patches don't fix any of these problems but will, I believe, make them
all slightly easier to address.

mulhern (2):
  A few simple unit tests for some formats methods (#1043763)
  Make get_device_format_class return None if class not found (#1043763)

 blivet/__init__.py              |  3 ++-
 blivet/formats/__init__.py      | 26 ++++++++++++--------------
 tests/formats_test/__init__.py  |  0
 tests/formats_test/init_test.py | 35 +++++++++++++++++++++++++++++++++++
 4 files changed, 49 insertions(+), 15 deletions(-)
 create mode 100644 tests/formats_test/__init__.py
 create mode 100644 tests/formats_test/init_test.py

-- 
1.8.3.1



More information about the anaconda-patches mailing list