Skip to content

Commit

Permalink
Added_fix_for_upstream_topo_00_master (#3507)
Browse files Browse the repository at this point in the history
[SKIP CI]
Added_fix_for_upstream_topo_00_master

Signed-off-by: Pritam Singh <[email protected]>
  • Loading branch information
PsOverflow authored May 5, 2021
1 parent 1e947dc commit 6b610b5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ def test_pki_bug_1912493_pkispawn_reports_incorrect_fips_mode(ansible_module):
:Steps:
1. Install PKI rpm packages
2. pkispawn CA with --debug param
3. Assert the 'INFO: FIPS Mode: False'
3. Assert the 'redhat.fips=false'
:ExpectedResults:
1. FIPS disabled machine should generate 'INFO: FIPS Mode: False' in spawn log
2. FIPS enabled machine should report the 'INFO: FIPS Mode: True'
1. FIPS disabled machine should generate 'redhat.fips=false' in spawn log
2. FIPS enabled machine should report the 'redhat.fips=false'
:Automated: Yes
:CaseComponent: \-
"""
Expand All @@ -60,7 +60,7 @@ def test_pki_bug_1912493_pkispawn_reports_incorrect_fips_mode(ansible_module):
cmd_out = ansible_module.command('pkispawn -s CA -f /tmp/test_dir/ca.cfg --debug')
for result in cmd_out.values():
if result['rc'] == 0:
assert 'INFO: FIPS mode: False' in result['stderr']
assert 'redhat.fips=false' in result['stderr']
log.info('Successfully found the correct FIPS mode')
else:
log.error('Failed to install CA')
Expand Down

0 comments on commit 6b610b5

Please sign in to comment.