diff options
author | W. Trevor King <wking@tremily.us> | 2018-06-29 16:42:10 -0700 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-07-06 16:38:42 +0000 |
commit | 8aed3857d3186e9345402b796b217a3c9edea3c9 (patch) | |
tree | 3659184602250167350ee8fc8f39c3c2924c5a43 | |
parent | 9eef9eb212cf4c3ec137de9db7eb8b67a8f6c351 (diff) | |
download | podman-8aed3857d3186e9345402b796b217a3c9edea3c9.tar.gz podman-8aed3857d3186e9345402b796b217a3c9edea3c9.tar.bz2 podman-8aed3857d3186e9345402b796b217a3c9edea3c9.zip |
contrib/python/test/test_tunnel: Fix -nNT -> -nNTq
Catching the tests up with 60427ab3 (add podman remote client,
2018-06-22, #986) to avoid non-fatal smoketest failures like [1]:
======================================================================
FAIL: test_tunnel (test.test_tunnel.TestTunnel)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/mock.py", line 1179, in patched
return func(*args, **keywargs)
File "/go/src/github.com/projectatomic/libpod/contrib/python/test/test_tunnel.py", line 79, in test_tunnel
mock_Popen.assert_called_once_with(cmd, close_fds=True)
File "/usr/lib64/python3.6/unittest/mock.py", line 825, in assert_called_once_with
return self.assert_called_with(*args, **kwargs)
File "/usr/lib64/python3.6/unittest/mock.py", line 814, in assert_called_with
raise AssertionError(_error_message()) from cause
AssertionError: Expected call: Popen(['ssh', '-nNT', '-L', '/tmp/user/socket:/run/podman/socket', '-i', '~/.ssh/id_rsa', 'ssh://user@hostname'], close_fds=True)
Actual call: Popen(['ssh', '-nNTq', '-L', '/tmp/user/socket:/run/podman/socket', '-i', '~/.ssh/id_rsa', 'ssh://user@hostname'], close_fds=True)
[1]: https://s3.amazonaws.com/aos-ci/ghprb/projectatomic/libpod/0d792d5c92900ebd07c75bc3c0cb11753319682e.1.1529764423989739036/output.log
Signed-off-by: W. Trevor King <wking@tremily.us>
Closes: #1035
Approved by: mheon
-rw-r--r-- | contrib/python/test/test_tunnel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/test/test_tunnel.py b/contrib/python/test/test_tunnel.py index 30a80289d..2522df0ab 100644 --- a/contrib/python/test/test_tunnel.py +++ b/contrib/python/test/test_tunnel.py @@ -66,7 +66,7 @@ class TestTunnel(unittest.TestCase): cmd = [ 'ssh', - '-nNT', + '-nNTq', '-L', '{}:{}'.format(context.local_socket, context.remote_socket), '-i', |