summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-01-22 11:44:34 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-02-05 15:38:53 +0100
commit03d093d793fc53eaa1f83b23875a643be647d42a (patch)
tree184f982f21ef399cb46ec765c1b87f14627ab09f
parent894b70a164f06a865504e49cd4763670e4e1f8f6 (diff)
downloadfreeipa-03d093d793fc53eaa1f83b23875a643be647d42a.tar.gz
freeipa-03d093d793fc53eaa1f83b23875a643be647d42a.tar.xz
freeipa-03d093d793fc53eaa1f83b23875a643be647d42a.zip
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>
-rw-r--r--ipatests/test_integration/test_legacy_clients.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipatests/test_integration/test_legacy_clients.py b/ipatests/test_integration/test_legacy_clients.py
index 6bbe54b32..3edceb2dc 100644
--- a/ipatests/test_integration/test_legacy_clients.py
+++ b/ipatests/test_integration/test_legacy_clients.py
@@ -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])