Apparently py26 can't deepcopy a MagicMock?

This commit is contained in:
Peter Eckersley
2016-02-03 20:04:07 -08:00
parent 5e656122de
commit 4d6a3dfdff
+1
View File
@@ -609,6 +609,7 @@ 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)