From d07da417394f8d46081a3762b3ed5bf7659e69ab Mon Sep 17 00:00:00 2001 From: Mohammad Rizwan Yusuf Date: Wed, 25 Mar 2020 13:13:26 +0530 Subject: [PATCH] ipatests: Skip test using paramiko when FIPS is enabled Test used paramiko to connect to the master from controller. Hence skip if FIPS is enabled Signed-off-by: Mohammad Rizwan Yusuf Reviewed-By: Christian Heimes --- ipatests/test_integration/test_commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipatests/test_integration/test_commands.py b/ipatests/test_integration/test_commands.py index 32a21a732..c92cad947 100644 --- a/ipatests/test_integration/test_commands.py +++ b/ipatests/test_integration/test_commands.py @@ -803,6 +803,9 @@ class TestIPACommand(IntegrationTest): 3. add an ipa user 4. ssh from controller to master using the user created in step 3 """ + if self.master.is_fips_mode: # pylint: disable=no-member + pytest.skip("paramiko is not compatible with FIPS mode") + sssd_version = '' cmd_output = self.master.run_command(['sssd', '--version']) sssd_version = platform_tasks.\