Skip to content

Commit

Permalink
updating raw to return_raw_response
Browse files Browse the repository at this point in the history
  • Loading branch information
ColeHiggins2 committed Jan 16, 2024
1 parent fa5fa57 commit 6879c5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions robottelo/cli/simple_content_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/foreman/cli/test_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6879c5d

Please sign in to comment.