mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 00:22:04 +02:00
Merge pull request #1226 from SwartzCr/issue_809
Apache with more than one vhost (fixes #809)
This commit is contained in:
@@ -326,6 +326,7 @@ class Client(object):
|
|||||||
key_path=os.path.abspath(privkey_path),
|
key_path=os.path.abspath(privkey_path),
|
||||||
chain_path=chain_path,
|
chain_path=chain_path,
|
||||||
fullchain_path=fullchain_path)
|
fullchain_path=fullchain_path)
|
||||||
|
self.installer.save()
|
||||||
|
|
||||||
self.installer.save("Deployed Let's Encrypt Certificate")
|
self.installer.save("Deployed Let's Encrypt Certificate")
|
||||||
# sites may have been enabled / final cleanup
|
# sites may have been enabled / final cleanup
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ class ClientTest(unittest.TestCase):
|
|||||||
domain='foo.bar',
|
domain='foo.bar',
|
||||||
fullchain_path='fullchain',
|
fullchain_path='fullchain',
|
||||||
key_path=os.path.abspath("key"))
|
key_path=os.path.abspath("key"))
|
||||||
self.assertEqual(installer.save.call_count, 1)
|
self.assertEqual(installer.save.call_count, 2)
|
||||||
installer.restart.assert_called_once_with()
|
installer.restart.assert_called_once_with()
|
||||||
|
|
||||||
@mock.patch("letsencrypt.client.enhancements")
|
@mock.patch("letsencrypt.client.enhancements")
|
||||||
|
|||||||
Reference in New Issue
Block a user