mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
ipatests: remove xfail for tests using sssctl domain-status
The tests calling sssctl domain-status were marked xfail because of SSSD issue #6331. Now that the issue is fixed and freeipa bumped sssd required version, remove the xfail annotation. Related: https://pagure.io/freeipa/issue/9234 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
5a23d8ec3f
commit
29012bb374
@ -6,10 +6,8 @@
|
|||||||
|
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
import pytest
|
|
||||||
import textwrap
|
import textwrap
|
||||||
|
|
||||||
from ipaplatform.osinfo import osinfo
|
|
||||||
from ipaplatform.paths import paths
|
from ipaplatform.paths import paths
|
||||||
from ipapython.dn import DN
|
from ipapython.dn import DN
|
||||||
from ipatests.pytest_ipa.integration import tasks
|
from ipatests.pytest_ipa.integration import tasks
|
||||||
@ -52,9 +50,6 @@ class TestIpaAdTrustInstall(IntegrationTest):
|
|||||||
res = self.master.run_command(['testparm', '-s'])
|
res = self.master.run_command(['testparm', '-s'])
|
||||||
assert 'ERROR' not in (res.stdout_text + res.stderr_text)
|
assert 'ERROR' not in (res.stdout_text + res.stderr_text)
|
||||||
|
|
||||||
@pytest.mark.xfail(
|
|
||||||
osinfo.id == 'fedora' and osinfo.version_number >= (37,),
|
|
||||||
reason='freeipa ticket 9234', strict=True)
|
|
||||||
def test_add_agent_not_allowed(self):
|
def test_add_agent_not_allowed(self):
|
||||||
"""Check that add-agents can be run only by Admins."""
|
"""Check that add-agents can be run only by Admins."""
|
||||||
user = "nonadmin"
|
user = "nonadmin"
|
||||||
@ -256,9 +251,6 @@ class TestIpaAdTrustInstall(IntegrationTest):
|
|||||||
'"member","ipaexternalmember")')
|
'"member","ipaexternalmember")')
|
||||||
assert value in entry_list
|
assert value in entry_list
|
||||||
|
|
||||||
@pytest.mark.xfail(
|
|
||||||
osinfo.id == 'fedora' and osinfo.version_number >= (37,),
|
|
||||||
reason='freeipa ticket 9234', strict=True)
|
|
||||||
def test_ipa_user_pac(self):
|
def test_ipa_user_pac(self):
|
||||||
"""Test that a user can request a service ticket with PAC"""
|
"""Test that a user can request a service ticket with PAC"""
|
||||||
user = 'testpacuser'
|
user = 'testpacuser'
|
||||||
@ -287,9 +279,6 @@ class TestIpaAdTrustInstall(IntegrationTest):
|
|||||||
tasks.kinit_admin(self.master)
|
tasks.kinit_admin(self.master)
|
||||||
self.master.run_command(['ipa', 'user-del', user])
|
self.master.run_command(['ipa', 'user-del', user])
|
||||||
|
|
||||||
@pytest.mark.xfail(
|
|
||||||
osinfo.id == 'fedora' and osinfo.version_number >= (37,),
|
|
||||||
reason='freeipa ticket 9234', strict=True)
|
|
||||||
def test_ipa_user_s4u2self_pac(self):
|
def test_ipa_user_s4u2self_pac(self):
|
||||||
"""Test that a service can request S4U2Self ticket with PAC"""
|
"""Test that a service can request S4U2Self ticket with PAC"""
|
||||||
user = 'tests4u2selfuser'
|
user = 'tests4u2selfuser'
|
||||||
|
@ -24,7 +24,6 @@ from datetime import datetime, timedelta
|
|||||||
|
|
||||||
from ipalib.constants import IPAAPI_USER
|
from ipalib.constants import IPAAPI_USER
|
||||||
|
|
||||||
from ipaplatform.osinfo import osinfo
|
|
||||||
from ipaplatform.paths import paths
|
from ipaplatform.paths import paths
|
||||||
|
|
||||||
from ipapython.dn import DN
|
from ipapython.dn import DN
|
||||||
@ -1607,9 +1606,6 @@ class TestIPACommandWithoutReplica(IntegrationTest):
|
|||||||
tasks.ldapsearch_dm(self.master, base, ldap_args=[], scope='sub')
|
tasks.ldapsearch_dm(self.master, base, ldap_args=[], scope='sub')
|
||||||
tasks.ldapsearch_dm(self.master, base, ldap_args=[], scope='base')
|
tasks.ldapsearch_dm(self.master, base, ldap_args=[], scope='base')
|
||||||
|
|
||||||
@pytest.mark.xfail(
|
|
||||||
osinfo.id == 'fedora' and osinfo.version_number >= (37,),
|
|
||||||
reason='freeipa ticket 9234', strict=True)
|
|
||||||
def test_sid_generation(self):
|
def test_sid_generation(self):
|
||||||
"""
|
"""
|
||||||
Test SID generation
|
Test SID generation
|
||||||
|
Loading…
Reference in New Issue
Block a user