Comment 4 for bug 1829405

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/659616
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=d70395104b21f5ba3cbd54b0cc96424e402ac751
Submitter: Zuul
Branch: master

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>