commit d70395104b21f5ba3cbd54b0cc96424e402ac751
Author: Al Bailey <email address hidden>
Date: Thu May 16 11:18:36 2019 -0500
Mock away a method in unit tests that requires sudo
When helm repository refreshing was added to sysinv by https://review.opendev.org/#/c/656745/
it meant that any unit tests that construct a conductor
manager would prompt for sudo password.
This commit mocks away the method that makes the sudo call.
Change-Id: If8118b32a03ac9bdaf4bcdbb6e034df38d7de1e2
Closes-Bug: #1829405
Signed-off-by: Al Bailey <email address hidden>
Reviewed: https:/ /review. opendev. org/659616 /git.openstack. org/cgit/ starlingx/ config/ commit/ ?id=d70395104b2 1f5ba3cbd54b0cc 96424e402ac751
Committed: https:/
Submitter: Zuul
Branch: master
commit d70395104b21f5b a3cbd54b0cc9642 4e402ac751
Author: Al Bailey <email address hidden>
Date: Thu May 16 11:18:36 2019 -0500
Mock away a method in unit tests that requires sudo
When helm repository refreshing was added to sysinv by /review. opendev. org/#/c/ 656745/
https:/
it meant that any unit tests that construct a conductor
manager would prompt for sudo password.
This commit mocks away the method that makes the sudo call.
Change-Id: If8118b32a03ac9 bdaf4bcdbb6e034 df38d7de1e2
Closes-Bug: #1829405
Signed-off-by: Al Bailey <email address hidden>