]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
NetApp: Fix SSH Client File Creation in Unit Test
authorChuck Fouts <fchuck@netapp.com>
Sat, 27 Feb 2016 18:46:59 +0000 (13:46 -0500)
committerChuck Fouts <fchuck@netapp.com>
Sat, 27 Feb 2016 18:46:59 +0000 (13:46 -0500)
commit6bae6c573468725825be6ea854558a6392dbe263
tree32ba9462b130b7c9721a9da3f37ba570bc5d1b0c
parentbda22d6495b3e6aeb713de68dbd3e9fc3b5dd140
NetApp: Fix SSH Client File Creation in Unit Test

A bug was introduced where ssh_known_hosts file is created when the unit
tests in test_netapp.py are run. This patch adds mocks to the ssh init
calls to prevent this file creation.

Change-Id: Ie8ac4e7a5236e6735c7c2f4f50c5383f5f23d38e
Closes-bug: #1550542
cinder/tests/unit/test_netapp.py