mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Xfail test for sssd < 2.3.0
This fix is available in sssd 2.3.0+. On older version test will fail. Hence added xfail. Signed-off-by: Mohammad Rizwan <myusuf@redhat.com> Reviewed-By: Anuja More <amore@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
parent
e33ffab534
commit
32a5359ece
@ -1192,6 +1192,11 @@ class TestIPACommand(IntegrationTest):
|
||||
related: https://github.com/SSSD/sssd/issues/5139
|
||||
"""
|
||||
# try to login with wrong password
|
||||
sssd_version = tasks.get_sssd_version(self.master)
|
||||
if (sssd_version < tasks.parse_version('2.3.0')):
|
||||
pytest.xfail('Fix is part of sssd 2.3.0 and is'
|
||||
' available from fedora32 onwards')
|
||||
|
||||
sshconn = paramiko.SSHClient()
|
||||
sshconn.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
||||
since = time.strftime('%H:%M:%S')
|
||||
|
Loading…
Reference in New Issue
Block a user