diff options
author | Petr Viktorin <pviktori@redhat.com> | 2014-04-18 12:48:49 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-04-22 12:55:35 +0200 |
commit | d28d37ebdb7f454451975efbd55bceb6c3533430 (patch) | |
tree | b70c905d695e9f4dd4bc3255a62aad9141960dba /ipatests/test_integration/host.py | |
parent | 9814b272af6ad94aba675fe17de8883f3bb4b509 (diff) | |
download | freeipa-d28d37ebdb7f454451975efbd55bceb6c3533430.tar.gz freeipa-d28d37ebdb7f454451975efbd55bceb6c3533430.tar.xz freeipa-d28d37ebdb7f454451975efbd55bceb6c3533430.zip |
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>
Diffstat (limited to 'ipatests/test_integration/host.py')
-rw-r--r-- | ipatests/test_integration/host.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_integration/host.py b/ipatests/test_integration/host.py index 94440c187..7a3a6ac77 100644 --- a/ipatests/test_integration/host.py +++ b/ipatests/test_integration/host.py @@ -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, |