mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-12 01:01:55 -06:00
test_integration.host: Export the hostname to dict as string
Our tests do strict type-checking, using unicode string causes failures. Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
parent
9814b272af
commit
d28d37ebdb
@ -142,7 +142,7 @@ class BaseHost(object):
|
||||
|
||||
def to_dict(self):
|
||||
return {
|
||||
'name': self.hostname,
|
||||
'name': str(self.hostname),
|
||||
'ip': self.ip,
|
||||
'role': self.role,
|
||||
'external_hostname': self.external_hostname,
|
||||
|
Loading…
Reference in New Issue
Block a user