diff options
author | Martin Basti <mbasti@redhat.com> | 2014-09-04 15:48:16 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@dhcp-31-13.brq.redhat.com> | 2014-09-05 10:34:11 +0200 |
commit | 1dc9db49db895f130c68c12c316c8946944e70cf (patch) | |
tree | 2e61185e16ca155bf955316a22579e73922eef0e /ipatests | |
parent | 6bb6671cb5ea4c71581675330b398ab64c9dffd3 (diff) | |
download | freeipa-1dc9db49db895f130c68c12c316c8946944e70cf.tar.gz freeipa-1dc9db49db895f130c68c12c316c8946944e70cf.tar.xz freeipa-1dc9db49db895f130c68c12c316c8946944e70cf.zip |
Fix dnsrecord-mod raise error if last record attr is removed
Removing last record attribute causes output type validation error
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipatests')
-rw-r--r-- | ipatests/test_xmlrpc/test_dns_plugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipatests/test_xmlrpc/test_dns_plugin.py b/ipatests/test_xmlrpc/test_dns_plugin.py index 50b4d2ec7..1cfbbdb9e 100644 --- a/ipatests/test_xmlrpc/test_dns_plugin.py +++ b/ipatests/test_xmlrpc/test_dns_plugin.py @@ -1378,10 +1378,10 @@ class test_dns(Declarative): dict( - desc='Delete record %r in zone %r' % (tlsa, zone1), - command=('dnsrecord_del', [zone1, tlsa], {'del_all': True}), + desc='Remove record using dnsrecord-mod %r in zone %r' % (tlsa, zone1), + command=('dnsrecord_mod', [zone1, tlsa], {'tlsarecord': ''}), expected={ - 'value': [tlsa_dnsname], + 'value': tlsa_dnsname, 'summary': u'Deleted record "%s"' % tlsa, 'result': {'failed': []}, }, |