~raharper/curtin:fix/dname_to_serial_wwn_if_available

Last commit made on 2018-11-28
Get this branch:
git clone -b fix/dname_to_serial_wwn_if_available https://git.launchpad.net/~raharper/curtin
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
fix/dname_to_serial_wwn_if_available
Repository:
lp:~raharper/curtin

Recent commits

7047f4e... by Ryan Harper

unittest: add test_udev tests

68571d0... by Scott Moser

unittest: dname unittest cleanup

 - move test_udevinfo_not_called_if_info_provided
 - add test_udevinfo_called_if_info_not_provided
   if info is provided, udevinfo should not be called.
 - add '/dev/' prefix to "mypath" variables to make them more expected.
 - split test_disk_with_id_or_wwn into 2 tests
     test_disk_with_only_id
     test_disk_with_only_wwn
   also here use self.assertEqual as it makes it more clear
   what the expected result is.
 - make test_disk_with_both_id_wwn call with info=

e0c3384... by Ryan Harper

unittest: make_dname, add test for passing info dict, use assertEqual

3189f59... by Ryan Harper

block_meta: update dname debug message to indicate rule creation, not writing

f129c88... by Ryan Harper

docs: update documentation around dname for disks and partitions

b6b9009... by Ryan Harper

Update docstrings for udevadm_info

9d1446e... by Ryan Harper

udev: refactor udevadm_info to use just --query=property and add unittests

e6b37d0... by Ryan Harper

block-meta: make_dname_byid refactor for easier unittesting, add unittests

f91292a... by Ryan Harper

Add docstrings and small refactor to address feedback.

d79733c... by Ryan Harper

dname_byid: raise exception error, simplify rule construction