diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-05-25 12:31:03 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-06-03 09:00:34 +0200 |
commit | 56c66f44a0e356504bf8a7edcc924777adc1b352 (patch) | |
tree | 116e503a2b25826f21ed6a10f131da96f6fedcd2 /ipatests/test_cmdline | |
parent | e056b8dea208ccde8e06b199809ce038ccd0531e (diff) | |
download | freeipa-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_cmdline')
-rw-r--r-- | ipatests/test_cmdline/test_cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_cmdline/test_cli.py b/ipatests/test_cmdline/test_cli.py index aeade0eda..c2e051769 100644 --- a/ipatests/test_cmdline/test_cli.py +++ b/ipatests/test_cmdline/test_cli.py @@ -33,7 +33,7 @@ class TestCLIParsing(object): def run_command(self, command_name, **kw): """Run a command on the server""" if not api.Backend.rpcclient.isconnected(): - api.Backend.rpcclient.connect(fallback=False) + api.Backend.rpcclient.connect() try: api.Command[command_name](**kw) except errors.NetworkError: |