From 0eb01e7e9ca546aa42ecfd70868fb2900b6562f5 Mon Sep 17 00:00:00 2001 From: Shweta Singh Date: Tue, 16 Apr 2024 17:52:55 +0530 Subject: [PATCH] Remove the sub-man status (#14783) --- tests/foreman/cli/test_registration.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/foreman/cli/test_registration.py b/tests/foreman/cli/test_registration.py index e3bc35fa58b..34f3fb7f7b6 100644 --- a/tests/foreman/cli/test_registration.py +++ b/tests/foreman/cli/test_registration.py @@ -203,9 +203,9 @@ def test_positive_force_register_twice(module_ak_with_cv, module_org, rhel_conte assert f'The system has been registered with ID: {reg_id_new}' in str(result.stdout) assert reg_id_new != reg_id_old assert ( - target_sat.cli.Host.info({'name': rhel_contenthost.hostname})['subscription-information'][ - 'uuid' - ] + target_sat.cli.Host.info({'name': rhel_contenthost.hostname}, output_format='json')[ + 'subscription-information' + ]['uuid'] == reg_id_new )