From 39ebeae10befd3c7c3d015f67945e2b77217493d Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Wed, 12 Feb 2014 13:37:14 +0100 Subject: Fix test_host_plugin for DNS Classless Reverse zones Ticket: https://fedorahosted.org/freeipa/ticket/4143 Reviewed-by: Martin Kosek --- ipatests/test_xmlrpc/test_host_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipatests/test_xmlrpc/test_host_plugin.py b/ipatests/test_xmlrpc/test_host_plugin.py index 7b64398f..300e1c25 100644 --- a/ipatests/test_xmlrpc/test_host_plugin.py +++ b/ipatests/test_xmlrpc/test_host_plugin.py @@ -767,8 +767,8 @@ class test_host(Declarative): desc='Test that validation is enabled on adds', command=('host_add', [invalidfqdn1], {}), expected=errors.ValidationError(name='hostname', - error=u'invalid domain-name: only letters, numbers, and - ' + - u'are allowed. DNS label may not start or end with -'), + error=u"invalid domain-name: only letters, numbers, '-' " + + u"are allowed. DNS label may not start or end with '-'"), ), -- cgit