summaryrefslogtreecommitdiff
path: root/contrib/python/podman/test/test_tunnel.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/python/podman/test/test_tunnel.py')
-rw-r--r--contrib/python/podman/test/test_tunnel.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/python/podman/test/test_tunnel.py b/contrib/python/podman/test/test_tunnel.py
index ed23fd905..cdcc8466a 100644
--- a/contrib/python/podman/test/test_tunnel.py
+++ b/contrib/python/podman/test/test_tunnel.py
@@ -52,6 +52,8 @@ class TestTunnel(unittest.TestCase):
@patch('os.path.exists', return_value=True)
@patch('weakref.finalize')
def test_tunnel(self, mock_finalize, mock_exists, mock_Popen):
+ mock_Popen.return_value.returncode = 0
+
context = Context(
'unix:/01',
'io.projectatomic.podman',