summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipatests/test_xmlrpc/test_host_plugin.py4
1 files 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 '-'"),
),