summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2012-02-08 11:00:05 -0500
committerRob Crittenden <rcritten@redhat.com>2012-02-19 20:10:46 -0500
commit8125c11a8d26597972518735a18db63b5ea86c61 (patch)
tree191e7458689cb2891b48f490a0b511a40ef70f77 /ipalib/errors.py
parentaf233fbda188e00ec2504765788a90da633c4f59 (diff)
downloadfreeipa-8125c11a8d26597972518735a18db63b5ea86c61.tar.gz
freeipa-8125c11a8d26597972518735a18db63b5ea86c61.tar.xz
freeipa-8125c11a8d26597972518735a18db63b5ea86c61.zip
Add extra checking function to XMLRPC test framework
This fixes https://fedorahosted.org/freeipa/ticket/1968 (Add ability in test framework to compare two values in result) in a general way: adding an optional extra_check key to the test dict, so a custom checking function with access to the whole result can be called. The particular test mentioned in that issue, checking that the uidnumber and gidnumber for new isers are the same, is added. Also, this adds a docstring to the Declarative class. And finally, the test dictionary is passed to check() via keyword arguments, preventing spelling mistakes in keys from going unnoticed.
Diffstat (limited to 'ipalib/errors.py')
0 files changed, 0 insertions, 0 deletions