freeipa/tests
Petr Viktorin 1431c80b3c Convert --setattr values for attributes marked no_update
Attribute Patrams marked no_update never get cloned to Update commands,
and thus never receive the `attribute` flag. This makes their `encode`
method a no-op, which meant they don't get properly encoded when used
with --setattr, making the --setattr fail.

Introduce a `force` argument to encode, which overrides checking
for the attribute flag. Use this in set/add/delattr normalization,
where we know we are dealing with attributes.

https://fedorahosted.org/freeipa/ticket/2616
2012-04-09 21:54:07 -04:00
..
test_cmdline Move test skipping to class setup 2012-04-01 16:21:10 -04:00
test_install Use nose tools to check for exceptions 2012-03-19 16:33:35 +01:00
test_ipalib Change parameters to use only default_from for dynamic default values. 2012-03-28 14:04:31 +02:00
test_ipapython Parse zone indices in IPv6 addresses in CheckedIPAddress. 2012-03-27 12:03:16 +02:00
test_ipaserver Fix little test errors 2012-04-03 16:19:43 -04:00
test_pkcs10 Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_xmlrpc Convert --setattr values for attributes marked no_update 2012-04-09 21:54:07 -04: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 Check whether the default user group is POSIX when adding new user with --noprivate. 2012-04-05 15:04:45 +02:00