mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 00:00:44 +02:00
Apparently py26 can't deepcopy a MagicMock?
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user