From 6879c5d9db0017bd26ba83112e4dc32670e2c81c Mon Sep 17 00:00:00 2001 From: Cole Higgins Date: Tue, 16 Jan 2024 10:56:32 -0500 Subject: [PATCH] updating raw to return_raw_response --- robottelo/cli/simple_content_access.py | 4 ++-- tests/foreman/cli/test_subscription.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/robottelo/cli/simple_content_access.py b/robottelo/cli/simple_content_access.py index 739d27d1102..da741131d92 100644 --- a/robottelo/cli/simple_content_access.py +++ b/robottelo/cli/simple_content_access.py @@ -27,14 +27,14 @@ class SimpleContentAccess(Base): command_base = 'simple-content-access' @classmethod - def disable(cls, options=None, timeout=None, raw=False): + def disable(cls, options=None, timeout=None, return_raw_response=False): """Disable simple content access for a manifest""" cls.command_sub = 'disable' return cls.execute( cls._construct_command(options), ignore_stderr=True, timeout=timeout, - return_raw_response=raw, + return_raw_response=return_raw_response, ) @classmethod diff --git a/tests/foreman/cli/test_subscription.py b/tests/foreman/cli/test_subscription.py index a693e3530a3..90106c867bc 100644 --- a/tests/foreman/cli/test_subscription.py +++ b/tests/foreman/cli/test_subscription.py @@ -297,7 +297,7 @@ def test_positive_prepare_for_sca_only_hammer(function_org, target_sat): in str(org_results.stderr) ) sca_results = target_sat.cli.SimpleContentAccess.disable( - {'organization-id': function_org.id}, raw=True + {'organization-id': function_org.id}, return_raw_response=True ) assert ( 'Simple Content Access will be required for all organizations in the next release'