mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
ipatests: test_legacy_clients: Change "test group" to "testgroup"
The integration test for legacy clients used incorrectly "test group" instead of "testgroup" as group used on AD for test purposes. This is inconsistent with the usage of "testuser". https://fedorahosted.org/freeipa/ticket/4131 Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
parent
894b70a164
commit
03d093d793
@ -118,7 +118,7 @@ class BaseTestLegacyClient(trust_tests.TestEnforcedPosixADTrust):
|
||||
|
||||
def test_getent_ad_group(self):
|
||||
self.clear_sssd_caches()
|
||||
testgroup = 'test group@%s' % self.ad.domain.name
|
||||
testgroup = 'testgroup@%s' % self.ad.domain.name
|
||||
result = self.legacy_client.run_command(['getent', 'group', testgroup])
|
||||
|
||||
testgroup_stdout = "%s:\*:10047:" % testgroup
|
||||
@ -127,7 +127,7 @@ class BaseTestLegacyClient(trust_tests.TestEnforcedPosixADTrust):
|
||||
def test_id_ad_user(self):
|
||||
self.clear_sssd_caches()
|
||||
testuser = 'testuser@%s' % self.ad.domain.name
|
||||
testgroup = 'test group@%s' % self.ad.domain.name
|
||||
testgroup = 'testgroup@%s' % self.ad.domain.name
|
||||
|
||||
result = self.legacy_client.run_command(['id', testuser])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user