[blivet] unit test updates

David Lehman dlehman at redhat.com
Thu Jul 31 22:16:18 UTC 2014


Prompted by jenkins, I ran blivet's unit tests as root in a vm and here
is what I had to do to make it run, aside from applying my recent
pyparted patch to the code in python's site-lib.

Patch 2 is old code that I've wanted to remove for some time now, which I
found was getting triggered erroneously when manipulating a container's
member set as part of the action tests.

David Lehman (4):
  Bypass size getter when mocking new devices.
  Remove unused lvm and md activation code.
  Clean up mocking done by udev tests when finished.
  Update selinux tests for default context of mounts under /tmp.

 blivet/devices.py                  | 20 --------------------
 tests/formats_test/selinux_test.py |  6 +++---
 tests/storagetestcase.py           |  2 +-
 tests/udev_test.py                 | 12 ++++++++++--
 4 files changed, 14 insertions(+), 26 deletions(-)

-- 
1.9.3



More information about the anaconda-patches mailing list