summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc/test_dns_plugin.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_xmlrpc/test_dns_plugin.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_xmlrpc/test_dns_plugin.py')
-rw-r--r--ipatests/test_xmlrpc/test_dns_plugin.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/ipatests/test_xmlrpc/test_dns_plugin.py b/ipatests/test_xmlrpc/test_dns_plugin.py
index 7351d0b1d..dbc3bae37 100644
--- a/ipatests/test_xmlrpc/test_dns_plugin.py
+++ b/ipatests/test_xmlrpc/test_dns_plugin.py
@@ -429,7 +429,7 @@ class test_dns(Declarative):
super(test_dns, cls).setup_class()
if not api.Backend.rpcclient.isconnected():
- api.Backend.rpcclient.connect(fallback=False)
+ api.Backend.rpcclient.connect()
if not have_ldap2:
raise nose.SkipTest('server plugin not available')
@@ -3163,7 +3163,7 @@ class test_root_zone(Declarative):
super(test_root_zone, cls).setup_class()
if not api.Backend.rpcclient.isconnected():
- api.Backend.rpcclient.connect(fallback=False)
+ api.Backend.rpcclient.connect()
if not have_ldap2:
raise nose.SkipTest('server plugin not available')
@@ -3246,7 +3246,7 @@ class test_forward_zones(Declarative):
super(test_forward_zones, cls).setup_class()
if not api.Backend.rpcclient.isconnected():
- api.Backend.rpcclient.connect(fallback=False)
+ api.Backend.rpcclient.connect()
if not have_ldap2:
raise nose.SkipTest('server plugin not available')
@@ -4463,7 +4463,7 @@ class test_forward_master_zones_mutual_exlusion(Declarative):
super(test_forward_master_zones_mutual_exlusion, cls).setup_class()
if not api.Backend.rpcclient.isconnected():
- api.Backend.rpcclient.connect(fallback=False)
+ api.Backend.rpcclient.connect()
if not have_ldap2:
raise nose.SkipTest('server plugin not available')
@@ -4838,7 +4838,7 @@ class test_forwardzone_delegation_warnings(Declarative):
super(test_forwardzone_delegation_warnings, cls).setup_class()
if not api.Backend.rpcclient.isconnected():
- api.Backend.rpcclient.connect(fallback=False)
+ api.Backend.rpcclient.connect()
if not have_ldap2:
raise nose.SkipTest('server plugin not available')
@@ -5349,7 +5349,7 @@ class test_dns_soa(Declarative):
super(test_dns_soa, cls).setup_class()
if not api.Backend.rpcclient.isconnected():
- api.Backend.rpcclient.connect(fallback=False)
+ api.Backend.rpcclient.connect()
if not have_ldap2:
raise nose.SkipTest('server plugin not available')