]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
selftest/wic: code cleanup
authorJair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Fri, 16 Dec 2016 22:12:55 +0000 (16:12 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Dec 2016 08:50:17 +0000 (08:50 +0000)
commit285c2ed90e8056999c40df9cce3035e92cd7f9b4
treefe109848108bf97b8f9fd27cb76a1215be74d1d2
parentc48c0f38b1726378d6761225ab0a4ceca7492588
selftest/wic: code cleanup

The following changes were added to improve the code readability:

- Removed redundant backlashes between brackets
- Aligned continuation lines according to PEP8 style
- Refactored command execution in the next methods for enhanced
  legibility:

  - test_build_image_name(self)
  - test_gpt_image(self)
  - test_qemux86_directdisk(self)
  - test_rootfs_indirect_recipes(self)
  - test_iso_image(self)
  - test_mkgummidisk(self)
  - test_mkefidisk(self)
  - test_directdisk_bootloader_config(self)
  - test_qemu(self)
  - test_bmap(self)
  - test_systemd_bootdisk(self)
  - test_sdimage_bootpart(self)

(From OE-Core rev: 5ba21836fe3c061a6271f855a9e26c66004d330a)

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/wic.py