spiegel_podman/contrib/python/test
W. Trevor King 8aed3857d3 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]: 0d792d5c92.1.1529764423989739036/output.log

Signed-off-by: W. Trevor King <wking@tremily.us>

Closes: #1035
Approved by: mheon
2018-07-06 16:38:42 +00:00
..
__init__.py Refactor libpod python varlink bindings 2018-05-16 14:01:10 +00:00
podman_testcase.py Implement container attach 2018-05-31 20:13:35 -07:00
test_client.py Add unittests and fix bugs 2018-06-22 17:25:44 +00:00
test_containers.py Implement container attach 2018-05-31 20:13:35 -07:00
test_images.py Add support for BuildImage 2018-06-05 21:23:54 +00:00
test_libs.py Add support for Zulu timestamp parsing 2018-05-23 17:54:09 +00:00
test_runner.sh Implement SSH tunnels between client and podman server 2018-06-19 20:08:20 -07:00
test_system.py Add unittests and fix bugs 2018-06-22 17:25:44 +00:00
test_tunnel.py contrib/python/test/test_tunnel: Fix -nNT -> -nNTq 2018-07-06 16:38:42 +00:00