Add test to prevent regressing and not copying ssl_options to /etc/letsencrypt

This commit is contained in:
Brad Warren
2016-08-16 19:10:57 -07:00
parent 5ec22438ff
commit 1aa18a3bad
@@ -39,6 +39,8 @@ class NginxConfiguratorTest(util.NginxTest):
def test_prepare(self):
self.assertEqual((1, 6, 2), self.config.version)
self.assertEqual(5, len(self.config.parser.parsed))
# ensure we successfully parsed a file for ssl_options
self.assertTrue(self.config.parser.loc["ssl_options"])
@mock.patch("certbot_nginx.configurator.util.exe_exists")
@mock.patch("certbot_nginx.configurator.subprocess.Popen")