diff options
author | Martin Basti <mbasti@redhat.com> | 2014-06-18 15:58:17 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2014-07-01 09:58:42 +0200 |
commit | 152c8f210ba59dcc4d1b93b16338ce9f8d44b870 (patch) | |
tree | 67e2bf302c49cf997026218e51c56d49e09c9a2b /ipatests | |
parent | fdef2e1bd80d688467aeb8ac425e9010bf00c530 (diff) | |
download | freeipa-152c8f210ba59dcc4d1b93b16338ce9f8d44b870.tar.gz freeipa-152c8f210ba59dcc4d1b93b16338ce9f8d44b870.tar.xz freeipa-152c8f210ba59dcc4d1b93b16338ce9f8d44b870.zip |
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 <mkosek@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'ipatests')
-rw-r--r-- | ipatests/test_xmlrpc/test_dns_plugin.py | 5 |
1 files changed, 2 insertions, 3 deletions
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') ), |