From 152c8f210ba59dcc4d1b93b16338ce9f8d44b870 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Wed, 18 Jun 2014 15:58:17 +0200 Subject: Check normalization only for IDNA domains Backward compability with older IPA versions which allow to use uppper case. Only IDNA domains will be checked. https://fedorahosted.org/freeipa/ticket/4382 Reviewed-By: Martin Kosek Reviewed-By: Alexander Bokovoy --- ipatests/test_xmlrpc/test_dns_plugin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ipatests') diff --git a/ipatests/test_xmlrpc/test_dns_plugin.py b/ipatests/test_xmlrpc/test_dns_plugin.py index 66af0efb8..2c8c85f93 100644 --- a/ipatests/test_xmlrpc/test_dns_plugin.py +++ b/ipatests/test_xmlrpc/test_dns_plugin.py @@ -2504,11 +2504,10 @@ class test_dns(Declarative): dict( - desc='Add A denormalized record to %r in zone %r' % (idnres1, idnzone1), + desc='Add A denormalized record in zone %r' % (idnzone1), command=('dnsrecord_add', [idnzone1, u'gro\xdf'], {'arecord': u'172.16.0.1'}), expected=errors.ConversionError(name='name', - error=u'domain name \'gro\xdf\' and normalized domain name \'gross\'' - + ' do not match. Please use only normalized domains'), + error=u'domain name \'gro\xdf\' should be normalized to: gross') ), -- cgit