File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,17 @@ def test_fips_mode(self):
5454 cid_file_name = {VARS .IMAGE_NAME },
5555 cmd = "ruby -ropenssl -e 'exit OpenSSL.fips_mode'" ,
5656 )
57+ # In case of FIPS is enabled, then output should be "True" in string format
58+ # and then assert "True" means that FIPS is enabled
5759 assert output
5860 else :
5961 # FIPS disabled -> OpenSSL#fips_mode returns false
6062 output = PodmanCLIWrapper .podman_run_command_and_remove (
6163 cid_file_name = f"{ VARS .IMAGE_NAME } -{ self .app .app_name } " ,
6264 cmd = "ruby -ropenssl -e 'exit !OpenSSL.fips_mode'" ,
6365 )
66+ # In case of FIPS is disabled, then output should be "False" in string format
67+ # and then assert not output means that FIPS is disabled
6468 assert not output
6569
6670
You can’t perform that action at this time.
0 commit comments