URL: https://github.com/freeipa/freeipa/pull/4451
Author: tiran
 Title: #4451: [Backport][ipa-4-8] ipatests: Skip test using paramiko when FIPS 
is enabled
Action: opened

PR body:
This PR was opened automatically because PR #4442 was pushed to master and 
backport to ipa-4-8 is required.

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4451/head:pr4451
git checkout pr4451
From 1d2cc7610722bfc6451f20bdd3a736d0b41951ff Mon Sep 17 00:00:00 2001
From: Mohammad Rizwan Yusuf <myu...@redhat.com>
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 <myu...@redhat.com>
 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 32a21a7322..c92cad9471 100644
--- a/ipatests/test_integration/test_commands.py
+++ b/ipatests/test_integration/test_commands.py
@@ -803,6 +803,9 @@ def test_ssh_from_controller(self):
         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.\
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 

Reply via email to