diff options
author | Martin Basti <mbasti@redhat.com> | 2014-06-30 17:17:02 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-07-02 14:54:41 +0200 |
commit | ff7b44e3b09b2e94fde66f918a6d1fb6db043d80 (patch) | |
tree | 546926b0e7b7448423c292fd286fc0e970484b2d /ipatests/test_xmlrpc | |
parent | 21e1e4ac3bd62c20c6331ea3dc09793e3a869c22 (diff) | |
download | freeipa-ff7b44e3b09b2e94fde66f918a6d1fb6db043d80.tar.gz freeipa-ff7b44e3b09b2e94fde66f918a6d1fb6db043d80.tar.xz freeipa-ff7b44e3b09b2e94fde66f918a6d1fb6db043d80.zip |
Remove NSEC3PARAM record
Revert 5b95be802c6aa12b9464813441f85eaee3e3e82b
Ticket: https://fedorahosted.org/freeipa/ticket/4413
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc')
-rw-r--r-- | ipatests/test_xmlrpc/test_dns_plugin.py | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/ipatests/test_xmlrpc/test_dns_plugin.py b/ipatests/test_xmlrpc/test_dns_plugin.py index 2c8c85f93..995dd93a4 100644 --- a/ipatests/test_xmlrpc/test_dns_plugin.py +++ b/ipatests/test_xmlrpc/test_dns_plugin.py @@ -1594,68 +1594,6 @@ class test_dns(Declarative): dict( - desc='Try to add NSEC3PARAM record out of zone record %r' % (zone1), - command=('dnsrecord_add', [zone1, u'test'], - {'nsec3paramrecord': u'1 0 2 ad50f1'}), - expected=errors.ValidationError(name='nsec3paramrecord', - error=u'must be in zone record'), - ), - - - dict( - desc='Try to add invalid NSEC3PARAM record to zone %r' % (zone1), - command=('dnsrecord_add', [zone1, u'@'], - {'nsec3paramrecord': u'1 0 2 -ad50f1'}), - expected=errors.ValidationError(name='salt', - error=u'only hexadecimal digits or single hyphen ("-") are allowed'), - ), - - - dict( - desc='Add NSEC3PARAM record to zone %r' % (zone1), - command=('dnsrecord_add', [zone1, u'@'], - {'nsec3paramrecord': u'1 0 2 ad50f1'}), - expected={ - 'value': _dns_zone_record, - 'summary': None, - 'result': { - 'dn': zone1_dn, - 'arecord': [u'172.16.29.111'], - 'idnsname': [_dns_zone_record], - 'nsrecord': [zone1_absolute], - 'nsec3paramrecord': [u'1 0 2 ad50f1'], - 'objectclass': objectclasses.dnszone, - }, - }, - ), - - - dict( - desc='Try to add another NSEC3PARAM record to zone %r' % (zone1), - command=('dnsrecord_add', [zone1, u'@'], - {'nsec3paramrecord': u'1 0 2 -'}), - expected=errors.ValidationError(name='nsec3paramrecord', - error=u'Only one NSEC3PARAM record is allowed per zone'), - ), - - - dict( - desc='Remove NSEC3PARAM record from zone %r' % (zone1), - command=('dnsrecord_del', [zone1, u'@'], - {'nsec3paramrecord': u'1 0 2 ad50f1'}), - expected={ - 'value': [_dns_zone_record], - 'summary': None, - 'result': { - 'arecord': [u'172.16.29.111'], - 'idnsname': [_dns_zone_record], - 'nsrecord': [zone1_absolute], - }, - }, - ), - - - dict( desc='Create zone %r' % zone3, command=( 'dnszone_add', [zone3], { |