commit 2565aef537cd32c32d08163c8c4fe52c945fae44
Author: Alex Schultz <email address hidden>
Date: Tue Aug 28 16:54:33 2018 -0600
Properly mock unlink
I5de4d68cc2669d37e7a667209423b9ac842136ff added these tests but did not
properly mock the unlink that can be triggered. This change mocks the
os.unlink so it doesn't try to remove our mocked file when the tests
run.
Reviewed: https:/ /review. openstack. org/605038 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=2565aef537c d32c32d08163c8c 4fe52c945fae44
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 2565aef537cd32c 32d08163c8c4fe5 2c945fae44
Author: Alex Schultz <email address hidden>
Date: Tue Aug 28 16:54:33 2018 -0600
Properly mock unlink
I5de4d68cc2 669d37e7a667209 423b9ac842136ff added these tests but did not
properly mock the unlink that can be triggered. This change mocks the
os.unlink so it doesn't try to remove our mocked file when the tests
run.
Co-authored-by: Sergii Golovatiuk <email address hidden>
Change-Id: Ica28227b011255 c23e677539c5e3d f33f556e1b7 e7c4ebfba01b3d7 d12384f2d4)
Closes-Bug: #1789506
(cherry picked from commit 6e6ad0a8cea3eeb