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> |
||
|---|---|---|
| .. | ||
| cases | ||
| data | ||
| mod | ||
| run | ||
| src | ||
| .gitignore | ||
| __init__.py | ||
| conftest.py | ||
| initrd.py | ||
| test.py | ||