ipatests: Fix name property on a service tracker

https://fedorahosted.org/freeipa/ticket/6366

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
Milan Kubík 2016-09-12 14:53:48 +02:00 committed by Martin Babinsky
parent 4f8e212c42
commit 7eb78aa8db

View File

@ -52,7 +52,7 @@ class ServiceTracker(KerberosAliasMixin, Tracker):
def __init__(self, name, host_fqdn, options=None):
super(ServiceTracker, self).__init__(default_version=None)
self._name = "{0}/{1}@{2}".format(name, host_fqdn, api.env.realm)
self._name = u"{0}/{1}@{2}".format(name, host_fqdn, api.env.realm)
self.dn = DN(
('krbprincipalname', self.name), api.env.container_service,
api.env.basedn)