summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipatests/test_integration/test_legacy_clients.py2
1 files changed, 1 insertions, 1 deletions
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