From 517ac415249b03fcdb93eb49b2a722d145aef3de Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Wed, 2 Apr 2014 13:20:01 +0200 Subject: ipatests: legacy_clients: Use hostname instead of external hostname for AD subdomain Reviewed-By: Petr Viktorin --- ipatests/test_integration/test_legacy_clients.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipatests/test_integration') diff --git a/ipatests/test_integration/test_legacy_clients.py b/ipatests/test_integration/test_legacy_clients.py index 072a2939d..e3444687b 100644 --- a/ipatests/test_integration/test_legacy_clients.py +++ b/ipatests/test_integration/test_legacy_clients.py @@ -65,7 +65,7 @@ class BaseTestLegacyClient(object): try: child_ad = cls.host_by_role(cls.optional_extra_roles[0]) cls.ad_subdomain = '.'.join( - child_ad.external_hostname.split('.')[1:]) + child_ad.hostname.split('.')[1:]) except LookupError: cls.ad_subdomain = None -- cgit