mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Mock-picking fix
This commit is contained in:
@@ -422,9 +422,8 @@ class RollbackTest(unittest.TestCase):
|
||||
@classmethod
|
||||
def _call(cls, checkpoints, side_effect):
|
||||
from letsencrypt.client import rollback
|
||||
with mock.patch("letsencrypt.client"
|
||||
".display_ops.pick_installer") as mock_pick_installer:
|
||||
mock_pick_installer.side_effect = side_effect
|
||||
with mock.patch("letsencrypt.client.plugin_selection.pick_installer") as mpi
|
||||
mpi.side_effect = side_effect
|
||||
rollback(None, checkpoints, {}, mock.MagicMock())
|
||||
|
||||
def test_no_problems(self):
|
||||
|
||||
Reference in New Issue
Block a user