summaryrefslogtreecommitdiffstats
path: root/functest/tests/unit/openstack/vping/test_vping_ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/tests/unit/openstack/vping/test_vping_ssh.py')
-rw-r--r--functest/tests/unit/openstack/vping/test_vping_ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/tests/unit/openstack/vping/test_vping_ssh.py b/functest/tests/unit/openstack/vping/test_vping_ssh.py
index 3595638ec..05482ed6b 100644
--- a/functest/tests/unit/openstack/vping/test_vping_ssh.py
+++ b/functest/tests/unit/openstack/vping/test_vping_ssh.py
@@ -75,7 +75,7 @@ class VpingSSHTesting(unittest.TestCase):
self.vping.ssh = mock.Mock()
stdout = mock.Mock()
stdout.channel.recv_exit_status.return_value = ret
- self.vping.ssh.exec_command.return_value = (None, stdout, None)
+ self.vping.ssh.exec_command.return_value = (None, stdout, mock.Mock())
self.assertEqual(self.vping.execute(), ret)
self.vping.ssh.exec_command.assert_called_once_with(
'ping -c 1 {}'.format(self.vping.vm2.private_v4))