summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration/host.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-09-17 18:03:59 +0200
committerPetr Viktorin <pviktori@redhat.com>2013-10-03 18:57:41 +0200
commit3864760c5283e9796085faed44b597479df5659f (patch)
treef865438986e981289578aa02598f207a624d7e42 /ipatests/test_integration/host.py
parent758c73e1493d8499f346c1fb7e3ca1e18ec1454e (diff)
downloadfreeipa-3864760c5283e9796085faed44b597479df5659f.tar.gz
freeipa-3864760c5283e9796085faed44b597479df5659f.tar.xz
freeipa-3864760c5283e9796085faed44b597479df5659f.zip
test_integration: Add OpenSSHTransport, used if paramiko is not available
This adds a transport that uses /usr/bin/ssh calls to communicate with remote hosts. This transport is a bit slower and buffers output more than paramiko, so it is only used if paramiko is not available, or forced with an environment variable. https://fedorahosted.org/freeipa/ticket/3890
Diffstat (limited to 'ipatests/test_integration/host.py')
-rw-r--r--ipatests/test_integration/host.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_integration/host.py b/ipatests/test_integration/host.py
index 38d9ae6f5..7e5fca1ce 100644
--- a/ipatests/test_integration/host.py
+++ b/ipatests/test_integration/host.py
@@ -178,7 +178,7 @@ class BaseHost(object):
class Host(BaseHost):
"""A Unix host"""
- transport_class = transport.ParamikoTransport
+ transport_class = transport.SSHTransport
def run_command(self, argv, set_env=True, stdin_text=None,
log_stdout=True, raiseonerr=True,