ipatests/test_commands: Check sssd version like on test_sssd
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
1 parent
7ed5374c91
commit
158257c4b3
1 file changed
+4
-5
@@ -906,11 +906,10 @@ class TestIPACommand(IntegrationTest):
|
||||
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.\
|
||||
parse_ipa_version(cmd_output.stdout_text.strip())
|
||||
if sssd_version.version < '2.2.0':
|
||||
cmd = self.master.run_command(['sssd', '--version'])
|
||||
sssd_version = platform_tasks.parse_ipa_version(
|
||||
cmd.stdout_text.strip())
|
||||
if sssd_version < platform_tasks.parse_ipa_version('2.2.0'):
|
||||
pytest.xfail(reason="sssd 2.2.0 unavailable in F29 nightly")
|
||||
|
||||
username = "testuser" + str(random.randint(200000, 9999999))
|
||||
|
||||
Reference in new issue
Block a user