From fc4fc268b8c7de72a293555ad8b31e6efb4a4d8a Mon Sep 17 00:00:00 2001 From: Adarsh Dubey Date: Tue, 19 Dec 2023 16:04:49 +0530 Subject: [PATCH] mend --- tests/foreman/ui/test_registration.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/foreman/ui/test_registration.py b/tests/foreman/ui/test_registration.py index 24804b50971..288dc066bc1 100644 --- a/tests/foreman/ui/test_registration.py +++ b/tests/foreman/ui/test_registration.py @@ -22,7 +22,6 @@ def test_positive_verify_default_values_for_global_registration( module_target_sat, default_org, - default_location, ): """Check for all the Default values pre-populated in the global registration template @@ -40,12 +39,9 @@ def test_positive_verify_default_values_for_global_registration( {'organization-id': default_org.id, 'name': gen_string('alpha')} ) with module_target_sat.ui_session() as session: - session.organization.select(org_name=default_org.name) - session.location.select(loc_name=default_location.name) cmd = session.host.get_register_command( full_read=True, ) - assert cmd['general']['organization'] == 'Default Organization' assert cmd['general']['location'] == 'Default Location' assert cmd['general']['capsule'] == 'Nothing to select.'