mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add skip_if_platform marker
Make it easier to skip tests based on platform ID and platform LIKE_ID. Skip some tests that are not working on Debian-like platforms Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Stanislav Levin <slev@altlinux.org>
This commit is contained in:
@@ -152,6 +152,9 @@ class TestSudo(IntegrationTest):
|
||||
assert result1.returncode == 0 and result2.returncode == 0,\
|
||||
'rules cleanup failed'
|
||||
|
||||
@pytest.mark.skip_if_platform(
|
||||
"debian", reason="NISDOMAIN has not been set on Debian"
|
||||
)
|
||||
def test_nisdomainname(self):
|
||||
result = self.client.run_command('nisdomainname')
|
||||
assert self.client.domain.name in result.stdout_text
|
||||
|
||||
Reference in New Issue
Block a user