summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2014-02-12 13:37:14 +0100
committerMartin Kosek <mkosek@redhat.com>2014-02-12 14:01:09 +0100
commit39ebeae10befd3c7c3d015f67945e2b77217493d (patch)
tree85e0394d15d84a2cb81ee276f2534c90dbcc7435
parent6c500ccf05103566ca888bc8d67187ab81621328 (diff)
downloadfreeipa.git-39ebeae10befd3c7c3d015f67945e2b77217493d.tar.gz
freeipa.git-39ebeae10befd3c7c3d015f67945e2b77217493d.tar.xz
freeipa.git-39ebeae10befd3c7c3d015f67945e2b77217493d.zip
Fix test_host_plugin for DNS Classless Reverse zones
Ticket: https://fedorahosted.org/freeipa/ticket/4143 Reviewed-by: Martin Kosek <mkosek@redhat.com>
-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 '-'"),
),