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
2014-02-12 13:37:14 +01:00
committed by Martin Kosek
parent 6c500ccf05
commit 39ebeae10b

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 '-'"),
),