This patch adds some integration tests for DiskPartitioner by using
it on a temporary file. As a side effect, this patch adds
disk_partitioner.list_partitions() helper, which is used by the test,
but can by used for anything else later.
The new tests are currently skipped on gate-ironic-python26, as
there is no `parted` utility there.
Also these tests do not cover destroy_disk_metadata, as it can't
be executed on a file.
Reviewed: https:/ /review. openstack. org/94620 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=fc7dfcc543d 2517746c6692753 6ef78846f45b26
Committed: https:/
Submitter: Jenkins
Branch: master
commit fc7dfcc543d2517 746c66927536ef7 8846f45b26
Author: Dmitry Tantsur <email address hidden>
Date: Wed May 21 15:46:05 2014 +0200
Add some real-world testing on DiskPartitioner
This patch adds some integration tests for DiskPartitioner by using partitioner. list_partitions () helper, which is used by the test,
it on a temporary file. As a side effect, this patch adds
disk_
but can by used for anything else later.
The new tests are currently skipped on gate-ironic- python26, as disk_metadata, as it can't
there is no `parted` utility there.
Also these tests do not cover destroy_
be executed on a file.
Change-Id: I53bf2d207b7d15 a0673be6a6786c4 7500b9eb499
Closes-Bug: #1306153