summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc/test_dns_plugin.py
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-11-09 14:23:15 +0100
committerMartin Kosek <mkosek@redhat.com>2011-11-09 15:31:50 +0100
commit843c0787b7e123801250b9a0fb5b974cd9fd7e7b (patch)
treeda70e275d5dfa41d39f7e11f357d6e664488a8f8 /tests/test_xmlrpc/test_dns_plugin.py
parentb5c049ae2e62f24c6dfce618b94f567671e238ea (diff)
downloadfreeipa-843c0787b7e123801250b9a0fb5b974cd9fd7e7b.tar.gz
freeipa-843c0787b7e123801250b9a0fb5b974cd9fd7e7b.tar.xz
freeipa-843c0787b7e123801250b9a0fb5b974cd9fd7e7b.zip
Fix DNS zone --allow-dynupdate option behavior
--allow-dynupdate was implemented as a Flag parameter type, which is not convenient for LDAP attributes. When a DNS zone with permitted dynamic updates was modified and the --allow-dynupdate flag was not set, dynamic updates were turned off. This patch changes the option type to Bool parameter type which behaves according to user expectations when modifying the zone. https://fedorahosted.org/freeipa/ticket/2039
Diffstat (limited to 'tests/test_xmlrpc/test_dns_plugin.py')
-rw-r--r--tests/test_xmlrpc/test_dns_plugin.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_xmlrpc/test_dns_plugin.py b/tests/test_xmlrpc/test_dns_plugin.py
index 679f285d5..7e75a130e 100644
--- a/tests/test_xmlrpc/test_dns_plugin.py
+++ b/tests/test_xmlrpc/test_dns_plugin.py
@@ -215,7 +215,6 @@ class test_dns(Declarative):
'idnssoaretry': [fuzzy_digits],
'idnssoaexpire': [fuzzy_digits],
'idnssoaminimum': [fuzzy_digits],
- 'idnsallowdynupdate': [u'FALSE'],
},
},
),