summaryrefslogtreecommitdiffstats
path: root/ipatests
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-04-18 12:48:49 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-04-22 12:55:35 +0200
commitd28d37ebdb7f454451975efbd55bceb6c3533430 (patch)
treeb70c905d695e9f4dd4bc3255a62aad9141960dba /ipatests
parent9814b272af6ad94aba675fe17de8883f3bb4b509 (diff)
downloadfreeipa-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')
-rw-r--r--ipatests/test_integration/host.py2
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,