From 15adc2679dabc97fdc4514fc0775be7308bd922a Mon Sep 17 00:00:00 2001 From: Sudhir Menon Date: Mon, 9 Jun 2025 17:20:32 +0530 Subject: [PATCH] ipatests: Tests for 32BitIdranges. Running 32BitIdrange tests in AD enviornment Signed-off-by: Sudhir Menon Reviewed-By: Rob Crittenden Reviewed-By: Florence Blanc-Renaud Reviewed-By: Florence Blanc-Renaud --- .../test_integration/test_32bit_idranges.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/ipatests/test_integration/test_32bit_idranges.py b/ipatests/test_integration/test_32bit_idranges.py index e76e117e5f1627af02274a13d3ac12ca84eb7ad9..a928628d399d3a94901f0220c3af3e97c5115ffe 100644 --- a/ipatests/test_integration/test_32bit_idranges.py +++ b/ipatests/test_integration/test_32bit_idranges.py @@ -6,6 +6,7 @@ from __future__ import absolute_import from ipatests.pytest_ipa.integration import tasks from ipatests.test_integration.base import IntegrationTest +from ipatests.test_integration.test_trust import BaseTestTrust class Test32BitIdRanges(IntegrationTest): @@ -102,3 +103,24 @@ class Test32BitIdRanges(IntegrationTest): ) assert result.returncode == 0 assert str(uid) in result.stdout_text + + +class Test32BitIdrangeInTrustEnv(Test32BitIdRanges, BaseTestTrust): + """ + Tests to check 32BitIdrange functionality + in IPA-AD trust enviornment + """ + topology = 'line' + num_ad_domains = 1 + num_ad_subdomains = 0 + num_ad_treedomains = 0 + num_clients = 0 + + @classmethod + def install(cls, mh): + super(BaseTestTrust, cls).install(mh) + cls.ad = cls.ads[0] + cls.ad_domain = cls.ad.domain.name + tasks.configure_dns_for_trust(cls.master, cls.ad) + tasks.install_adtrust(cls.master) + tasks.establish_trust_with_ad(cls.master, cls.ad.domain.name) -- 2.50.0