diff --git a/tests/foreman/api/test_registration.py b/tests/foreman/api/test_registration.py index 88b6e3138ca..ab1fbed1e1b 100644 --- a/tests/foreman/api/test_registration.py +++ b/tests/foreman/api/test_registration.py @@ -289,7 +289,7 @@ def test_positive_host_registration_with_non_admin_user( :customerscenario: true """ - changed_org_admin = module_target_sat.api.Role().search( + register_host_role = module_target_sat.api.Role().search( query={'search': 'name="Register hosts"'} ) module_target_sat.api.User(