ipatests: legacy_clients: Use hostname instead of external hostname for AD subdomain

Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
Tomas Babej
2014-04-02 13:20:01 +02:00
committed by Petr Viktorin
parent 81b5adee80
commit 517ac41524

View File

@@ -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