From 03f291c3ae624c04493a3a12a20b7c3750a8b939 Mon Sep 17 00:00:00 2001 From: Freya Gustavsson Date: Sat, 19 Oct 2024 20:11:58 +0200 Subject: [PATCH] fix: Update phase from Final to Convert --- convert2rhel/phase.py | 2 +- .../kernel-boot-files/test_handle_corrupted_files.py | 2 +- .../kernel-boot-files/test_handle_missing_boot_files.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/convert2rhel/phase.py b/convert2rhel/phase.py index 1144c9854a..31df918006 100644 --- a/convert2rhel/phase.py +++ b/convert2rhel/phase.py @@ -51,7 +51,7 @@ class ConversionPhases: PRE_PONR_CHANGES = ConversionPhase(name="PRE_PONR_CHANGES", log_name="Prepare") # Phase to exit the Analyze SubCommand early ANALYZE_EXIT = ConversionPhase(name="ANALYZE_EXIT", log_name="Analyzing") - POST_PONR_CHANGES = ConversionPhase(name="POST_PONR_CHANGES", log_name="Final") + POST_PONR_CHANGES = ConversionPhase(name="POST_PONR_CHANGES", log_name="Convert") ROLLBACK = ConversionPhase(name="ROLLBACK", log_name="Rollback") current_phase = None # type: ConversionPhase|None diff --git a/tests/integration/tier1/destructive/kernel-boot-files/test_handle_corrupted_files.py b/tests/integration/tier1/destructive/kernel-boot-files/test_handle_corrupted_files.py index 2af539f705..1d440eda34 100644 --- a/tests/integration/tier1/destructive/kernel-boot-files/test_handle_corrupted_files.py +++ b/tests/integration/tier1/destructive/kernel-boot-files/test_handle_corrupted_files.py @@ -87,7 +87,7 @@ def test_handling_corrupted_initramfs_file(convert2rhel, shell): TEST_VARS["RHSM_SCA_PASSWORD"], ) ) as c2r: - c2r.expect("Prepare: Final modifications to the system") + c2r.expect("Convert: Final modifications to the system") kernel_version = get_latest_installed_kernel_version(kernel_name) diff --git a/tests/integration/tier1/destructive/kernel-boot-files/test_handle_missing_boot_files.py b/tests/integration/tier1/destructive/kernel-boot-files/test_handle_missing_boot_files.py index 9d33660630..7133929b50 100644 --- a/tests/integration/tier1/destructive/kernel-boot-files/test_handle_missing_boot_files.py +++ b/tests/integration/tier1/destructive/kernel-boot-files/test_handle_missing_boot_files.py @@ -59,7 +59,7 @@ def test_handling_missing_kernel_boot_files(convert2rhel, shell): TEST_VARS["RHSM_SCA_PASSWORD"], ) ) as c2r: - c2r.expect("Prepare: Final modifications to the system") + c2r.expect("Convert: Final modifications to the system") kernel_version = get_latest_installed_kernel_version(kernel_name)