Skip to content

Commit

Permalink
pre-commit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ColeHiggins2 committed Jan 5, 2024
1 parent 0cb0480 commit b9c36c8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/foreman/cli/test_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,14 @@ def test_positive_prepare_for_sca_only_hammer(function_org, target_sat):
org_results = target_sat.execute(
f'hammer organization update --id {function_org.id} --simple-content-access false'
)
assert 'Simple Content Access will be required for all organizations in the next release' in str(
org_results.stderr
assert (
'Simple Content Access will be required for all organizations in the next release'
in str(org_results.stderr)
)
sca_results = target_sat.execute(
f'hammer simple-content-access disable --organization-id {function_org.id}'
)
assert 'Simple Content Access will be required for all organizations in the next release' in str(
sca_results.stderr
assert (
'Simple Content Access will be required for all organizations in the next release'
in str(sca_results.stderr)
)

0 comments on commit b9c36c8

Please sign in to comment.