diff options
Diffstat (limited to 'ipatests/test_integration')
-rw-r--r-- | ipatests/test_integration/test_legacy_clients.py | 4 | ||||
-rw-r--r-- | ipatests/test_integration/test_trust.py | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/ipatests/test_integration/test_legacy_clients.py b/ipatests/test_integration/test_legacy_clients.py index d70dd1010..072a2939d 100644 --- a/ipatests/test_integration/test_legacy_clients.py +++ b/ipatests/test_integration/test_legacy_clients.py @@ -248,7 +248,7 @@ class BaseTestLegacyClient(object): result = self.legacy_client.run_command(['getent', 'passwd', testuser]) testuser_regex = "subdomaintestuser@%s:\*:%s:%s:"\ - "Subdomain Test User:%s:"\ + "Subdomaintest User:%s:"\ "/bin/sh"\ % (re.escape(self.ad_subdomain), self.subdomain_testuser_uid_regex, @@ -405,7 +405,7 @@ class BaseTestLegacyClientPosix(BaseTestLegacyClient, testuser_gid_regex = '10047' subdomain_testuser_uid_regex = '10142' subdomain_testuser_gid_regex = '10147' - homedir_template = "/home/{username}" + homedir_template = "/home/{domain}/{username}" posix_trust = True def test_remove_trust_with_posix_attributes(self): diff --git a/ipatests/test_integration/test_trust.py b/ipatests/test_integration/test_trust.py index ec545baba..4afc13440 100644 --- a/ipatests/test_integration/test_trust.py +++ b/ipatests/test_integration/test_trust.py @@ -131,8 +131,9 @@ class TestPosixADTrust(ADTrustBase): result = self.master.run_command(['getent', 'passwd', testuser]) testuser_stdout = "testuser@%s:*:10042:10047:"\ - "Test User:/home/testuser:/bin/sh"\ - % self.ad.domain.name + "Test User:/home/%s/testuser:/bin/sh"\ + % (self.ad.domain.name, + self.ad.domain.name) assert testuser_stdout in result.stdout_text |