mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
Apparently py26 can't deepcopy a MagicMock?
This commit is contained in:
parent
5e656122de
commit
4d6a3dfdff
1 changed files with 3 additions and 2 deletions
|
|
@ -609,8 +609,9 @@ class CLITest(unittest.TestCase): # pylint: disable=too-many-public-methods
|
|||
with open(rc, "w") as dest:
|
||||
dest.write(renewal_conf)
|
||||
|
||||
self._test_renewal_common(True, [], args=["renew", "--dry-run", "-tvv"],
|
||||
renew=True)
|
||||
with mock.patch('letsencrypt.cli.copy.deepcopy'):
|
||||
self._test_renewal_common(True, [], args=["renew", "--dry-run", "-tvv"],
|
||||
renew=True)
|
||||
|
||||
@mock.patch('letsencrypt.cli.zope.component.getUtility')
|
||||
@mock.patch('letsencrypt.cli._treat_as_renewal')
|
||||
|
|
|
|||
Loading…
Reference in a new issue