freeipa/tests
Martin Kosek 5b8e1e8c62 Harden raw record processing in DNS plugin
There were cases where DNS plugin was too tolerant in a raw DNS
record option (--<rrtype-rec) processing. It let people specify
DNS record parts options in dnsrecord-mod operations for some
record without specifying the record that should be updated. It
also ignored DNS record parts in dnsrecord-add operation when the
raw DNS record value was already set via --<rrtype>-rec option.

This patch hardens the processing and returns error in both
described cases to make the processes clearer and more robust.

All these use cases were also covered by new unit tests.

https://fedorahosted.org/freeipa/ticket/2551
2012-03-22 19:30:13 +01:00
..
test_cmdline ticket 1600 - convert unittests to use DN objects 2011-08-16 23:52:26 -04:00
test_install Use nose tools to check for exceptions 2012-03-19 16:33:35 +01:00
test_ipalib Only split CSV in the client, quote instead of escaping 2012-03-20 20:03:54 -04:00
test_ipapython Do stricter checking of IP addressed passed to server install. 2011-05-30 13:38:46 +02:00
test_ipaserver subclass HTTP_Status from plugable.Plugin, fix not_found tests 2012-02-29 21:04:10 -05:00
test_pkcs10 Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_xmlrpc Harden raw record processing in DNS plugin 2012-03-22 19:30:13 +01:00
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
data.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_util.py Sort lists so order is predictable and tests pass as expected. 2011-08-31 11:18:08 +02:00
util.py Sort lists so order is predictable and tests pass as expected. 2011-08-31 11:18:08 +02:00