summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-05-18 09:42:56 +0200
committerJan Cholasta <jcholast@redhat.com>2016-05-25 16:06:26 +0200
commite0275abe6f5192e68b7f57acf37b01aaa89003ea (patch)
tree3023bbb3db7e3369e865eabfe6b878e09cf7d38c /ipatests/test_xmlrpc/test_dns_realmdomains_integration.py
parent861294c0d62891dc9977e7203cc07496e35ec939 (diff)
downloadfreeipa-e0275abe6f5192e68b7f57acf37b01aaa89003ea.tar.gz
freeipa-e0275abe6f5192e68b7f57acf37b01aaa89003ea.tar.xz
freeipa-e0275abe6f5192e68b7f57acf37b01aaa89003ea.zip
rpc: include structured error information in responses
Include keyword arguments of exceptions in RPC responses. This is limited to JSON-RPC, as XML-RPC does not support additional data in error responses. Include keyword arguments of messages in RPC responses. Include keyword arguments of exceptions in batch command result. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_dns_realmdomains_integration.py')
-rw-r--r--ipatests/test_xmlrpc/test_dns_realmdomains_integration.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py b/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py
index f284e1317..9482ef6ab 100644
--- a/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py
+++ b/ipatests/test_xmlrpc/test_dns_realmdomains_integration.py
@@ -154,7 +154,8 @@ class test_dns_realmdomains_integration(Declarative):
u'the docs.',
u'code': 13002,
u'type': u'warning',
- u'name': u'ForwardersWarning'
+ u'name': u'ForwardersWarning',
+ u'data': {}
},),
'result': {
'dn': dnszone_2_dn,