summaryrefslogtreecommitdiffstats
path: root/ipatests/test_ipalib/test_rpc.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-05-25 12:31:03 +0200
committerJan Cholasta <jcholast@redhat.com>2016-06-03 09:00:34 +0200
commit56c66f44a0e356504bf8a7edcc924777adc1b352 (patch)
tree116e503a2b25826f21ed6a10f131da96f6fedcd2 /ipatests/test_ipalib/test_rpc.py
parente056b8dea208ccde8e06b199809ce038ccd0531e (diff)
downloadfreeipa-56c66f44a0e356504bf8a7edcc924777adc1b352.tar.gz
freeipa-56c66f44a0e356504bf8a7edcc924777adc1b352.tar.xz
freeipa-56c66f44a0e356504bf8a7edcc924777adc1b352.zip
rpc: specify connection options in API config
Specify RPC connection options once in API.bootstrap rather than in each invocation of rpcclient.connect. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipatests/test_ipalib/test_rpc.py')
-rw-r--r--ipatests/test_ipalib/test_rpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_ipalib/test_rpc.py b/ipatests/test_ipalib/test_rpc.py
index 159fdd81a..f13e7cfcf 100644
--- a/ipatests/test_ipalib/test_rpc.py
+++ b/ipatests/test_ipalib/test_rpc.py
@@ -267,7 +267,7 @@ class test_xml_introspection(object):
@classmethod
def setup_class(self):
try:
- api.Backend.xmlclient.connect(fallback=False)
+ api.Backend.xmlclient.connect()
except (errors.NetworkError, IOError):
raise nose.SkipTest('%r: Server not available: %r' %
(__name__, api.env.xmlrpc_uri))