That didn't work :(

This commit is contained in:
Peter Eckersley 2016-02-03 20:20:27 -08:00
parent 4d6a3dfdff
commit 139326db7a

View file

@ -609,9 +609,8 @@ class CLITest(unittest.TestCase): # pylint: disable=too-many-public-methods
with open(rc, "w") as dest:
dest.write(renewal_conf)
with mock.patch('letsencrypt.cli.copy.deepcopy'):
self._test_renewal_common(True, [], args=["renew", "--dry-run", "-tvv"],
renew=True)
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')