Refactor unit test implementation for `parted`, `sfdisk` and `sgdisk` stages by extracting the common parts into a helper function. Each stage now implements only its own function for filtering `sfdisk --json` output and calls the common helper function. In addition, flip the oder when comparing the expected and actual output from `sfdisk --json`, to make it more easier to comprehend. Signed-off-by: Tomáš Hozza <thozza@redhat.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_assemblers.py | ||
| test_boot.py | ||
| test_devices.py | ||
| test_executable.py | ||
| test_mount.py | ||
| test_noop.py | ||
| test_sources.py | ||
| test_stages.py | ||