From 6b610b53e9fcc9e093c44c9060919d6a5ee27c27 Mon Sep 17 00:00:00 2001 From: Pritam Singh Date: Wed, 5 May 2021 15:05:53 +0530 Subject: [PATCH] Added_fix_for_upstream_topo_00_master (#3507) [SKIP CI] Added_fix_for_upstream_topo_00_master Signed-off-by: Pritam Singh --- ...ki_bug_1912493_pkispawn_reports_incorrect_fips_mode.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/dogtag/pytest-ansible/pytest/ca/bugzilla/test_pki_bug_1912493_pkispawn_reports_incorrect_fips_mode.py b/tests/dogtag/pytest-ansible/pytest/ca/bugzilla/test_pki_bug_1912493_pkispawn_reports_incorrect_fips_mode.py index c71842763ba..d6123df4b0d 100644 --- a/tests/dogtag/pytest-ansible/pytest/ca/bugzilla/test_pki_bug_1912493_pkispawn_reports_incorrect_fips_mode.py +++ b/tests/dogtag/pytest-ansible/pytest/ca/bugzilla/test_pki_bug_1912493_pkispawn_reports_incorrect_fips_mode.py @@ -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: \- """ @@ -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')