diff --git a/ipatests/test_xmlrpc/test_dns_plugin.py b/ipatests/test_xmlrpc/test_dns_plugin.py index 5818d252a..5bc3e06ae 100644 --- a/ipatests/test_xmlrpc/test_dns_plugin.py +++ b/ipatests/test_xmlrpc/test_dns_plugin.py @@ -685,6 +685,20 @@ class test_dns(Declarative): ), + dict( + desc='Try to create a zone w/ a name and name-from-ipa %r' % zone1, + command=( + 'dnszone_add', [zone1], { + 'idnssoarname': zone1_rname, + 'name_from_ip': revzone1_ip, + } + ), + expected=errors.ValidationError( + message=u'invalid \'name-from-ip\': cannot be used when a ' + 'zone is specified'), + ), + + dict( desc='Retrieve zone %r' % zone1, command=('dnszone_show', [zone1], {}),