commit 4e0b199d177053d1ef547b9f8b57a4e69d189945
Author: Sean McGinnis <email address hidden>
Date: Tue Nov 28 15:58:15 2017 -0600
Mock out CLI execution in NEC driver tests
The VolumeStats_test was not mocking the CLI code that retieves
backend stats, resulting in an ssh_known_hosts file being created
in the local directory. This mocks out the calls to avoid this.
Reviewed: https:/ /review. openstack. org/523546 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=4e0b199d177 053d1ef547b9f8b 57a4e69d189945
Committed: https:/
Submitter: Zuul
Branch: master
commit 4e0b199d177053d 1ef547b9f8b57a4 e69d189945
Author: Sean McGinnis <email address hidden>
Date: Tue Nov 28 15:58:15 2017 -0600
Mock out CLI execution in NEC driver tests
The VolumeStats_test was not mocking the CLI code that retieves
backend stats, resulting in an ssh_known_hosts file being created
in the local directory. This mocks out the calls to avoid this.
Change-Id: I60898272e0da16 5fe3168e51d8595 250682179c0
Closes-bug: #1732992