Fix test_host_plugin for DNS Classless Reverse zones

Ticket: https://fedorahosted.org/freeipa/ticket/4143

Reviewed-by: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
Martin Basti authored and Martin Kosek committed 2014-02-12 14:01:09 +01:00
1 parent 6c500ccf05
commit 39ebeae10b
1 file changed
+2 -2
+2 -2
View File
@@ -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 '-'"),
),