summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc/xmlrpc_test.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2012-04-10 07:44:21 -0400
committerRob Crittenden <rcritten@redhat.com>2012-04-09 21:54:07 -0400
commit1431c80b3c2a256bb6c10cf042f7671004695a9f (patch)
treedef20d8af18b202cac8bd3007044972617cdd268 /tests/test_xmlrpc/xmlrpc_test.py
parent6e5c8b25bffa2b62a2233c0347c2ed3dd081d4a9 (diff)
downloadfreeipa.git-1431c80b3c2a256bb6c10cf042f7671004695a9f.tar.gz
freeipa.git-1431c80b3c2a256bb6c10cf042f7671004695a9f.tar.xz
freeipa.git-1431c80b3c2a256bb6c10cf042f7671004695a9f.zip
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
Diffstat (limited to 'tests/test_xmlrpc/xmlrpc_test.py')
0 files changed, 0 insertions, 0 deletions